DescriptionOilpan: add eager tracing stack depth checks.
To prevent runaway system stack use due to too eager unrolling of
trace() calls during marking, add tracking of recursive depth and
fall back to using the explicit mark stack if a limit is
exceeded.
Eager tracing isn't currenty enabled by default, so no extra overhead
for Oilpan trunk added. Set ENABLE_EAGER_TRACING_BY_DEFAULT to 1 to
near-universally enable eager tracing.
R=
BUG=420515
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186553
Patch Set 1 #Patch Set 2 : Remove redundant empty line #
Total comments: 10
Patch Set 3 : Review updates #Patch Set 4 : trace depth check is LIKELY() true #Patch Set 5 : Adjust visibility of trace depth methods to help MSVC #Messages
Total messages: 6 (2 generated)
|