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

Unified Diff: src/heap/gc-tracer.cc

Issue 1488593003: Optimize clearing of map transitions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: base Created 5 years 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: src/heap/gc-tracer.cc
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc
index 7b0b1ac9d5fd5661e14877440c61c7dfa14959ab..bec3c1707f72b2dca2f6cd290dbf1ca115bda8e6 100644
--- a/src/heap/gc-tracer.cc
+++ b/src/heap/gc-tracer.cc
@@ -526,10 +526,10 @@ void GCTracer::PrintNVP() const {
"weakcollection_process=%.1f "
"weakcollection_clear=%.1f "
"weakcollection_abort=%.1f "
- "weakcells=%.1f "
- "nonlive_refs=%.1f "
- "extract_dependent_code=%.1f "
- "deopt_dependent_code=%.1f "
+ "clear=%1f"
+ "clear_weakcell=%.1f "
+ "clear_map=%.1f "
+ "clear_dependent_code=%.1f "
"steps_count=%d "
"steps_took=%.1f "
"longest_step=%.1f "
@@ -595,10 +595,10 @@ void GCTracer::PrintNVP() const {
current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS],
current_.scopes[Scope::MC_WEAKCOLLECTION_CLEAR],
current_.scopes[Scope::MC_WEAKCOLLECTION_ABORT],
- current_.scopes[Scope::MC_WEAKCELL],
- current_.scopes[Scope::MC_NONLIVEREFERENCES],
- current_.scopes[Scope::MC_EXTRACT_DEPENDENT_CODE],
- current_.scopes[Scope::MC_DEOPT_DEPENDENT_CODE],
+ current_.scopes[Scope::MC_CLEAR],
+ current_.scopes[Scope::MC_CLEAR_WEAKCELL],
+ current_.scopes[Scope::MC_CLEAR_MAP],
+ current_.scopes[Scope::MC_CLEAR_DEPENDENT_CODE],
current_.incremental_marking_steps,
current_.incremental_marking_duration,
current_.longest_incremental_marking_step,

Powered by Google App Engine
This is Rietveld 408576698