Oilpan: handle thread-local weak tracing slightly better.

The implementation of marking is marking-thread centric, recording a
thread stack limit that the tracing through the object graph cannot
exceed. If it does, the implementation will use the explicit mark
stack instead of trying to eagerly trace the object, if unmarked.

Tracing will in the general case also happen on a per-thread basis,
when handling the weak pointer callbacks after the initial marking
phase has completed. Using the marking thread's stack limit to determine
eagerness or not of a trace call when that weak tracing runs doesn't
make much sense.

To address, eager tracing is not enabled whilst processing the
per-thread weak pointer callbacks. As the amount of tracing is rather
moderate for this stage, there are no performance concerns with
disabling this optimization.

R=haraken
BUG=420515
TEST=HeapTest.ThreadedStrongification

Review URL: https://codereview.chromium.org/1125613002

git-svn-id: svn://svn.chromium.org/blink/trunk@194970 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed