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

Unified Diff: src/objects.h

Issue 18998004: Implemented lazy sweeping of new space. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/mark-compact.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 470d8e89aedf2dcb26fdf92ab1cfbd019925a3cb..a371d61d6a41a593b5df4f92b9a095674c919ed2 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1455,6 +1455,9 @@ class HeapObject: public Object {
inline WriteBarrierMode GetWriteBarrierMode(
const DisallowHeapAllocation& promise);
+ // Set the map field of the object to NULL if contains a map.
+ inline void ClearDeadObject();
titzer 2013/07/11 08:22:23 I don't think this method should live on the HeapO
Hannes Payer (out of office) 2013/07/11 08:43:10 Done.
+
// Dispatched behavior.
void HeapObjectShortPrint(StringStream* accumulator);
#ifdef OBJECT_PRINT
« no previous file with comments | « src/mark-compact.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698