• Michael Lippautz's avatar
    heap: Rework forced GCs · fe0c91cb
    Michael Lippautz authored
    Forced GCs can either be invoked internally or communicate the fact that
    they are forced externally via API. Before this CL, all uses were
    passing kGCCallbackFlagForced to indicate that the GC was forced.
    
    This flag is used by embedders though to trigger followup actions. E.g.,
    it can be used to trigger a follow up call to
    GarbageCollectionForTesting() call which requires --expose-gc.
    
    This patch changes the semantics as follows:
    - Internal forced GCs use a Heap GC flag (kForcedGC)
    - External forced GCs and GC extension use kGCCallbackFlagForced
    
    Bug: chromium:1074061
    Change-Id: Ide7ea0ccdf88b8c8cac002289aef5b7eb0f9748c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2172747Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67498}
    fe0c91cb
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...