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

Unified Diff: runtime/vm/scavenger.h

Issue 226973003: Simpler, more consistent triggering of old GC; also, use external in policy. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/scavenger.h
===================================================================
--- runtime/vm/scavenger.h (revision 35145)
+++ runtime/vm/scavenger.h (working copy)
@@ -98,11 +98,6 @@
*end = to_->end();
}
- // Returns true if the last scavenge had a promotion failure.
- bool HadPromotionFailure() {
- return had_promotion_failure_;
- }
-
void WriteProtect(bool read_only);
void AddGCTime(int64_t micros) {
@@ -209,8 +204,6 @@
// Keep track whether a scavenge is currently running.
bool scavenging_;
- // Keep track whether the scavenge had a promotion failure.
- bool had_promotion_failure_;
int64_t gc_time_micros_;
intptr_t collections_;

Powered by Google App Engine
This is Rietveld 408576698