[heap] Bailout in IncrementalMarkingJob::ScheduleTask
Currently MinorMC does not suport incremental marking but uses the IncrementalMarking class to bootstrap concurrent marking. IncrementalMarkingJob::ScheduleTask is called from multiple call sites which assume major incremental marking. This CL adds a bailout to ScheduleTask on IsMajorMarking()==false to avoid erreoneously doing incremental steps while in MinorMC mode. Bug: v8:13012 Change-Id: I57803a8f258697478a9696716063c8c2cae1ae30 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3865147Reviewed-by: Omer Katz <omerkatz@chromium.org> Commit-Queue: Leon Bettscheider <bettscheider@google.com> Cr-Commit-Position: refs/heads/main@{#82891}
Showing
Please
register
or
sign in
to comment