Description[Telemetry] Expose v8's window.gc() method to the PerfTestRunner.
Blink's PerfTestRunner has a gc method which tries to call
window.GCController.collect(), if it doesn't exist, it allocates a whole
bunch of memory to try to trigger a gc.
Since the blink_perf Measurement already passes --js-flags=--expose_gc,
we can call the window.gc() method instead of this hackery.
I'm hopeful that this will fix the Bindings/gc-tree.html crashes on
android.
BUG=252897
R=dtu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207975
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|