DescriptionOilpan: Disabling lazy sweeping shouldn't deactivate EAGERLY_FINALIZE.
Classes with EAGERLY_FINALIZE macro must be eagerly finalized irrespective of
lazy sweeping enabled or disabled, because otherwise the destructor of such
a class runs in an undefined order and may touch a pointer that's already
freed up.
This was found by Blink GC plugin making an error when built with
ENABLE_OILPAN=1 and ENABLE_LAZY_SWEEPING=0 configuration.
BUG=none
R=oilpan-reviews@chromium.org, haraken@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196842
Patch Set 1 #
Total comments: 2
Messages
Total messages: 10 (2 generated)
|