Unify GcTracer, GC histograms, and GC trace events.
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/e2c2a095db05fbd0e7d13cafbfa7d09c3528fef6 commit e2c2a095db05fbd0e7d13cafbfa7d09c3528fef6 Author: ulan <ulan@chromium.org> Date: Wed Mar 23 18:05:25 2016 Remove unused GcTracer functions. BUG= chromium:597310 LOG=NO Review URL: https://codereview.chromium.org/1828743002 Cr-Commit-Position: refs/heads/master@{#35042} [modify] https://crrev.com/e2c2a095db05fbd0e7d13cafbfa7d09c3528fef6/src/heap/gc-tracer.cc [modify] https://crrev.com/e2c2a095db05fbd0e7d13cafbfa7d09c3528fef6/src/heap/gc-tracer.h
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/c42b2c4493c128ce6e8d7d32280573a876a5b8c4 commit c42b2c4493c128ce6e8d7d32280573a876a5b8c4 Author: ulan <ulan@chromium.org> Date: Tue Mar 29 12:51:43 2016 Refactor the ring buffer in GCTracer. Now instead of saving all event details in the ring buffer, we save only the bytes and duration. This reduces the GCTracer size from 20K to 3K and simplifies code. BUG= chromium:597310 LOG=NO Review URL: https://codereview.chromium.org/1830723004 Cr-Commit-Position: refs/heads/master@{#35104} [modify] https://crrev.com/c42b2c4493c128ce6e8d7d32280573a876a5b8c4/src/heap/gc-tracer.cc [modify] https://crrev.com/c42b2c4493c128ce6e8d7d32280573a876a5b8c4/src/heap/gc-tracer.h [modify] https://crrev.com/c42b2c4493c128ce6e8d7d32280573a876a5b8c4/test/cctest/cctest.gyp [delete] https://crrev.com/945a2b7a86fb0f694746ce268417dee76238f7a2/test/cctest/test-gc-tracer.cc [add] https://crrev.com/c42b2c4493c128ce6e8d7d32280573a876a5b8c4/test/unittests/heap/gc-tracer-unittest.cc [modify] https://crrev.com/c42b2c4493c128ce6e8d7d32280573a876a5b8c4/test/unittests/unittests.gyp
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6 commit bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6 Author: ulan <ulan@chromium.org> Date: Tue Mar 29 17:33:16 2016 Represent speed in GCTracer functions as double instead of int. This avoids redundant casts, loss of precision, and potential overflows. BUG= chromium:597310 LOG=NO Review URL: https://codereview.chromium.org/1841043002 Cr-Commit-Position: refs/heads/master@{#35113} [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/gc-idle-time-handler.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/gc-idle-time-handler.h [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/gc-tracer.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/gc-tracer.h [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/heap.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/incremental-marking.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/mark-compact.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/scavenge-job.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/src/heap/scavenge-job.h [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/test/cctest/heap/test-heap.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/test/unittests/heap/gc-idle-time-handler-unittest.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/test/unittests/heap/gc-tracer-unittest.cc [modify] https://crrev.com/bc272e9f7ca0d17cf74e1ee458fca9750ff0aec6/test/unittests/heap/scavenge-job-unittest.cc
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/2b9c99a861db72ab280b0d08d3b745b2140edc8e commit 2b9c99a861db72ab280b0d08d3b745b2140edc8e Author: ulan <ulan@chromium.org> Date: Mon Apr 04 10:41:17 2016 Trace events corresponding to GCTracer scopes. BUG= chromium:597310 LOG=NO Review URL: https://codereview.chromium.org/1851103002 Cr-Commit-Position: refs/heads/master@{#35233} [modify] https://crrev.com/2b9c99a861db72ab280b0d08d3b745b2140edc8e/src/heap/gc-tracer.cc [modify] https://crrev.com/2b9c99a861db72ab280b0d08d3b745b2140edc8e/src/heap/gc-tracer.h [modify] https://crrev.com/2b9c99a861db72ab280b0d08d3b745b2140edc8e/src/heap/heap.cc [modify] https://crrev.com/2b9c99a861db72ab280b0d08d3b745b2140edc8e/src/heap/mark-compact.cc
Comment 1 by bugdroid1@chromium.org
, Mar 23 2016