DescriptionWith LSan, run initial heap cleaning GCs during shutdown.
Clean out as much as garbage as possible before releasing a
thread's static persistents, in preparation for LSan leak
detection. By doing so, finalizers for itinerant garbage
may access these static local persistents without restrictions,
_but_ any object kept alive by a static persistent may
not when the second phase of cleaning GCs are performed.
As collectAllGarbage() stops on reaching a fixed point,
extra overhead of having to perform GCs before and after
the static persistents isn't a concern.
R=
BUG=611333
Committed: https://crrev.com/a2917a54ac168cd4ccb8bf453a44cadd38ec0c6b
Cr-Commit-Position: refs/heads/master@{#393809}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|