Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1220)

Unified Diff: Source/platform/heap/Visitor.h

Issue 1287963002: Fix race at blink::GCInfoAtBase<T>::index (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@oilpan_1
Patch Set: Nits. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/heap/GCInfo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Visitor.h
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h
index 83b5f85b6d40556413df4d6011ba68f3b99c49ed..32dc5051cd92ff88286991c816612987ba177f9a 100644
--- a/Source/platform/heap/Visitor.h
+++ b/Source/platform/heap/Visitor.h
@@ -388,6 +388,7 @@ private:
template<typename T>
struct TypenameStringTrait {
+ // This method is not thread safe.
static const String& get()
{
DEFINE_STATIC_LOCAL(String, typenameString, (WTF::extractTypeNameFromFunctionName(WTF::extractNameFunction<T>())));
« no previous file with comments | « Source/platform/heap/GCInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698