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

Issue 11365146: Add GCTracer metrics for a scavenger GC for DOM wrappers (Closed)

Created:
8 years, 1 month ago by haraken
Modified:
8 years ago
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Add GCTracer metrics for a scavenger GC for DOM wrappers This patch adds the following three metrics for the --trace_gc_nvp option. nodes_died_in_new_space_; // Number of died nodes in the new space. nodes_copied_in_new_space_; // Number of copied nodes to the new space. nodes_promoted; // Number of promoted nodes to the old space. BUG= TEST=Manually confirmed that the "--trace_gc --trace_gc_nvp" option prints the metrics Committed: http://code.google.com/p/v8/source/detail?r=13159

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -5 lines) Patch
M src/global-handles.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/global-handles.cc View 1 2 chunks +10 lines, -3 lines 0 comments Download
M src/heap.h View 1 2 chunks +21 lines, -0 lines 0 comments Download
M src/heap.cc View 1 3 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
haraken
These metrics are important to measure scavenger GC behaviors for DOM wrappers. Could you take ...
8 years, 1 month ago (2012-11-08 11:28:12 UTC) #1
Michael Starzinger
https://codereview.chromium.org/11365146/diff/1/src/global-handles.cc File src/global-handles.cc (right): https://codereview.chromium.org/11365146/diff/1/src/global-handles.cc#newcode555 src/global-handles.cc:555: GarbageCollector collector, GCTracer* tracer) { I am kind of ...
8 years, 1 month ago (2012-11-16 13:45:51 UTC) #2
haraken
Thanks for review! https://codereview.chromium.org/11365146/diff/1/src/global-handles.cc File src/global-handles.cc (right): https://codereview.chromium.org/11365146/diff/1/src/global-handles.cc#newcode555 src/global-handles.cc:555: GarbageCollector collector, GCTracer* tracer) { > ...
8 years, 1 month ago (2012-11-19 07:45:43 UTC) #3
Michael Starzinger
I see. So letting the GCTracer escape is probably the simplest solution after all. I ...
8 years ago (2012-12-05 14:26:14 UTC) #4
haraken
Thanks for reviewing! https://codereview.chromium.org/11365146/diff/1/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/11365146/diff/1/src/heap.cc#newcode7200 src/heap.cc:7200: PrintF("copied_nodes_in_new=%" V8_PTR_PREFIX "d ", copied_nodes_in_new_space_); On ...
8 years ago (2012-12-06 11:08:15 UTC) #5
Michael Starzinger
8 years ago (2012-12-07 09:07:58 UTC) #6
LGTM. I'll land this for you.

Powered by Google App Engine
This is Rietveld 408576698