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

Unified Diff: runtime/vm/pages.cc

Issue 3001343002: Remove GC prologue and epilogue callbacks. (Closed)
Patch Set: Created 3 years, 4 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 | « runtime/vm/pages.h ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.cc
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc
index 4fe574528cff94891fd3508661113820b58f04d5..610b9d09fc9a46f87d3cd6923651fc01d6697240 100644
--- a/runtime/vm/pages.cc
+++ b/runtime/vm/pages.cc
@@ -819,7 +819,7 @@ void PageSpace::WriteProtectCode(bool read_only) {
}
}
-void PageSpace::MarkSweep(bool invoke_api_callbacks) {
+void PageSpace::MarkSweep() {
Thread* thread = Thread::Current();
Isolate* isolate = heap_->isolate();
ASSERT(isolate == Isolate::Current());
@@ -878,7 +878,7 @@ void PageSpace::MarkSweep(bool invoke_api_callbacks) {
!isolate->HasAttemptedReload();
#endif // !defined(PRODUCT)
GCMarker marker(heap_);
- marker.MarkObjects(isolate, this, invoke_api_callbacks, collect_code);
+ marker.MarkObjects(isolate, this, collect_code);
usage_.used_in_words = marker.marked_words();
int64_t mid1 = OS::GetCurrentMonotonicMicros();
« no previous file with comments | « runtime/vm/pages.h ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698