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

Unified Diff: src/heap/heap.h

Issue 2077353004: [heap] Filter out stale left-trimmed handles for scavenges (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Revert "[heap] Filter out stale left-trimmed handles" Created 4 years, 6 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 | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 1badd964393b60b3cd41bd0b71247e6edcb109a4..ce7fe0093d70605ad69060bad5c8b783a2425209 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -632,12 +632,6 @@ class Heap {
// stored on the map to facilitate fast dispatch for {StaticVisitorBase}.
static int GetStaticVisitorIdForMap(Map* map);
- // We cannot avoid stale handles to left-trimmed objects, but can only make
- // sure all handles still needed are updated. Filter out a stale pointer
- // and clear the slot to allow post processing of handles (needed because
- // the sweeper might actually free the underlying page).
- inline bool PurgeLeftTrimmedObject(Object** object);
-
// Notifies the heap that is ok to start marking or other activities that
// should not happen during deserialization.
void NotifyDeserializationComplete();
@@ -1444,6 +1438,9 @@ class Heap {
void ReportHeapStatistics(const char* title);
void ReportCodeStatistics(const char* title);
#endif
+#ifdef ENABLE_SLOW_DCHECKS
+ int CountHandlesForObject(Object* object);
+#endif
private:
class PretenuringScope;
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698