• Dominik Inführ's avatar
    Reland "[heap] Add epoch to GC tracing events" · 3238162d
    Dominik Inführ authored
    This is a reland of be52501d
    
    Fix data race by not emitting the epoch for sweeper background jobs
    at them moment.
    
    Original change's description:
    > [heap] Add epoch to GC tracing events
    >
    > This CL adds the TRACE_GC_EPOCH macro, which adds the epoch as attribute
    > to the trace event. Use TRACE_GC_EPOCH for top-level events, nested
    > events can get the information from its parent.
    >
    > V8's GC needs an epoch for young and full collections, since scavenges
    > also occur during incremental marking. The epoch is also process-wide,
    > so different isolates do not reuse the same id.
    >
    > Change-Id: I8889bccce51e008374b4796445a50062bd87a45d
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2565247
    > Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#71521}
    
    Change-Id: Ib8f4bfdc01c459955eb6db63bb6e24a8aa068f09
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2567702
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71567}
    3238162d
Name
Last commit
Last update
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...
.flake8 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...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...