Commit 052a4cf1 authored by mlippautz's avatar mlippautz Committed by Commit bot

[heap] Report proper GC type in prologue/eplilogue callbacks.

Followup to https://codereview.chromium.org/1288683005

BUG=chromium:521946
LOG=N

Review URL: https://codereview.chromium.org/1313023002

Cr-Commit-Position: refs/heads/master@{#30345}
parent e4d6f1de
...@@ -768,9 +768,7 @@ void Heap::OverApproximateWeakClosure(const char* gc_reason) { ...@@ -768,9 +768,7 @@ void Heap::OverApproximateWeakClosure(const char* gc_reason) {
GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL); GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL);
VMState<EXTERNAL> state(isolate_); VMState<EXTERNAL> state(isolate_);
HandleScope handle_scope(isolate_); HandleScope handle_scope(isolate_);
// TODO(mlippautz): Report kGCTypeIncremental once blink updates its CallGCPrologueCallbacks(kGCTypeIncrementalMarking, kNoGCCallbackFlags);
// filtering.
CallGCPrologueCallbacks(kGCTypeMarkSweepCompact, kNoGCCallbackFlags);
} }
} }
incremental_marking()->MarkObjectGroups(); incremental_marking()->MarkObjectGroups();
...@@ -781,9 +779,7 @@ void Heap::OverApproximateWeakClosure(const char* gc_reason) { ...@@ -781,9 +779,7 @@ void Heap::OverApproximateWeakClosure(const char* gc_reason) {
GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL); GCTracer::Scope scope(tracer(), GCTracer::Scope::EXTERNAL);
VMState<EXTERNAL> state(isolate_); VMState<EXTERNAL> state(isolate_);
HandleScope handle_scope(isolate_); HandleScope handle_scope(isolate_);
// TODO(mlippautz): Report kGCTypeIncremental once blink updates its CallGCEpilogueCallbacks(kGCTypeIncrementalMarking, kNoGCCallbackFlags);
// filtering.
CallGCEpilogueCallbacks(kGCTypeMarkSweepCompact, kNoGCCallbackFlags);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment