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

Unified Diff: runtime/vm/pages.h

Issue 2771013002: Add more safe points in compiler (Closed)
Patch Set: Add a safe point in the zone allocator Created 3 years, 9 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: runtime/vm/pages.h
diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h
index 0cf4388cbfdbf85948a701780af447b7df8ebdff..36ab2fa4428bc274ef7f79482509a7def95df39c 100644
--- a/runtime/vm/pages.h
+++ b/runtime/vm/pages.h
@@ -324,10 +324,11 @@ class PageSpace {
// Ids for time and data records in Heap::GCStats.
enum {
// Time
- kMarkObjects = 0,
- kResetFreeLists = 1,
- kSweepPages = 2,
- kSweepLargePages = 3,
+ kSafePoint = 0,
+ kMarkObjects = 1,
+ kResetFreeLists = 2,
+ kSweepPages = 3,
+ kSweepLargePages = 4,
siva 2017/03/23 18:05:01 Might be a better to add the new time slot as the
erikcorry 2017/03/27 10:23:28 I think it makes most sense to have them in the or
// Data
kGarbageRatio = 0,
kGCTimeFraction = 1,
« no previous file with comments | « runtime/vm/jit_optimizer.cc ('k') | runtime/vm/pages.cc » ('j') | runtime/vm/zone.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698