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

Unified Diff: src/isolate.cc

Issue 893073006: Add map-based read barrier to WeakCell Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix merge Created 5 years, 10 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 | « src/ic/ia32/ic-compiler-ia32.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 37020da1559b70828dfceedf5eb75cb32391817b..f9a6edfb383ad21437d59859394176645d26b2a9 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -2604,7 +2604,7 @@ void Isolate::CheckDetachedContextsAfterGC() {
WeakCell* cell = WeakCell::cast(detached_contexts->get(i + 1));
if (mark_sweeps > 3) {
PrintF("detached context 0x%p\n survived %d GCs (leak?)\n",
- static_cast<void*>(cell->value()), mark_sweeps);
+ static_cast<void*>(cell->ValueNoReadBarrier()), mark_sweeps);
}
}
if (length == new_length) {
« no previous file with comments | « src/ic/ia32/ic-compiler-ia32.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698