• Clemens Backes's avatar
    Reland "[heap] Avoid dynamic updates of FLAG_gc_interval" · 7d34f881
    Clemens Backes authored
    This is a reland of commit abcb6bb8.
    The data race is fixed by using atomic operations.
    
    Original change's description:
    > [heap] Avoid dynamic updates of FLAG_gc_interval
    >
    > Flags will be protected from updates after V8 initialization (in the
    > future). This CL avoids any updates of the --gc-interval flag during
    > runtime, and instead updates a static field on the HeapAllocator
    > directly.
    >
    > R=mlippautz@chromium.org
    >
    > Bug: v8:12887
    > Change-Id: I17a495cae50a46d59a8159c6ece1558d4d61b949
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3687691
    > Commit-Queue: Clemens Backes <clemensb@chromium.org>
    > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#80998}
    
    Bug: v8:12887
    Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel_ng
    Change-Id: Ib5b537500413a627d9b2509354d20906e0474d8e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3695380Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81008}
    7d34f881
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-bigint.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-intl.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-module.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-promise.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-shadow-realm.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-temporal.cc Loading commit data...
runtime-test-wasm.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-trace.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime-wasm.cc Loading commit data...
runtime-weak-refs.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...