• Benedikt Meurer's avatar
    [heap] Various improvements to GC stats. · f8e3b1d6
    Benedikt Meurer authored
    This CL contains a bunch of different improvements to the existing
    object stats, namely:
    
     - Introduce DEPRECATED_DESCRIPTOR_ARRAY_TYPE virtual instance type to
       also estimate the memory overhead of DescriptorArrays for deprecated
       Maps.
     - Do proper over-allocation computating for inobject fields in JSObjects.
     - Introduce OBJECT_PROPERTY_ARRAY_TYPE virtual instance type and properly
       compute over-allocation for PropertyArrays
     - Compute over-allocation for JSObject/JSArray elements properly.
     - Correctly report JSFunction and JSCollection like the other
       JSObjects, specifically report over-allocation properly for the
       instances itself and for the elements/properties backing stores.
     - Implement correct over-allocation computation for hash tables in
       ObjectStatsCollectorImpl::RecordHashTableVirtualObjectStats().
    
    Bug: v8:7266
    Change-Id: I9cadd703266dc90911a8e7420c3b00dcee82b06d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1557139
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60683}
    f8e3b1d6
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...