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

Unified Diff: vm/heap.h

Issue 11722026: Do not emit pointer information for embedded singleton VM Isolate objects while generating code. Th… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 12 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
Index: vm/heap.h
===================================================================
--- vm/heap.h (revision 16624)
+++ vm/heap.h (working copy)
@@ -188,6 +188,8 @@
stats_.data_[id] = value;
}
+ bool gc_in_progress() const { return gc_in_progress_; }
+
private:
class GCStats : public ValueObject {
public:
@@ -243,6 +245,9 @@
// This heap is in read-only mode: No allocation is allowed.
bool read_only_;
+ // GC on the heap is in progress.
+ bool gc_in_progress_;
+
friend class GCTestHelper;
DISALLOW_COPY_AND_ASSIGN(Heap);
};

Powered by Google App Engine
This is Rietveld 408576698