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

Unified Diff: Source/platform/Timer.h

Issue 858363005: Oilpan: expose near-finalized predicate as Heap::willObjectBeLazilySwept() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: assert for valid object reference Created 5 years, 11 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 | « no previous file | Source/platform/heap/Heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Timer.h
diff --git a/Source/platform/Timer.h b/Source/platform/Timer.h
index 2d1611f155369781b66adf82563f320c40f02fac..b5f7b5c1a65577b5e4b3eec912f3404b9ed8fab4 100644
--- a/Source/platform/Timer.h
+++ b/Source/platform/Timer.h
@@ -127,7 +127,7 @@ public:
// Oilpan: if a timer fires while Oilpan heaps are being lazily
// swept, it is not safe to proceed if the object is about to
// be swept (and this timer will be stopped while doing so.)
- return Heap::isFinalizedObjectAlive(objectPointer);
+ return !Heap::willObjectBeLazilySwept(objectPointer);
}
};
« no previous file with comments | « no previous file | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698