summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gc/card_table.cc3
-rw-r--r--src/thread.cc1
-rw-r--r--src/utils.cc3
3 files changed, 0 insertions, 7 deletions
diff --git a/src/gc/card_table.cc b/src/gc/card_table.cc
index e053a06644..57824e90db 100644
--- a/src/gc/card_table.cc
+++ b/src/gc/card_table.cc
@@ -16,8 +16,6 @@
#include "card_table.h"
-#include <dynamic_annotations.h>
-
#include "base/logging.h"
#include "gc/card_table-inl.h"
#include "heap.h"
@@ -82,7 +80,6 @@ CardTable::CardTable(MemMap* mem_map, byte* biased_begin, size_t offset)
: mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) {
byte* __attribute__((unused)) begin = mem_map_->Begin() + offset_;
byte* __attribute__((unused)) end = mem_map_->End();
- ANNOTATE_BENIGN_RACE_SIZED(begin, (end - begin), "writes to GC card table");
}
void CardTable::ClearSpaceCards(ContinuousSpace* space) {
diff --git a/src/thread.cc b/src/thread.cc
index a85d22ac01..cfd8eb71ff 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -16,7 +16,6 @@
#include "thread.h"
-#include <dynamic_annotations.h>
#include <pthread.h>
#include <signal.h>
#include <sys/resource.h>
diff --git a/src/utils.cc b/src/utils.cc
index 50db7fa33a..145649524a 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -16,7 +16,6 @@
#include "utils.h"
-#include <dynamic_annotations.h>
#include <pthread.h>
#include <sys/stat.h>
#include <sys/syscall.h>
@@ -933,8 +932,6 @@ bool EndsWith(const std::string& s, const char* suffix) {
}
void SetThreadName(const char* thread_name) {
- ANNOTATE_THREAD_NAME(thread_name); // For tsan.
-
int hasAt = 0;
int hasDot = 0;
const char* s = thread_name;