Add InlinedMarkingVisitor::shouldMarkObject() predicate.

Rename checkSkipForObjectInTerminatingThreadHeap() as shouldMarkObject()
and invert the predicate's meaning: it returns true if the object reference
should be marked and traced, false if it should not be.

When performing a thread-local GC, references to other thread heaps should
not be marked and traced.

R=haraken
BUG=445388

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

git-svn-id: svn://svn.chromium.org/blink/trunk@187774 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: 83326ec5541a9fd103d19674260440107dce5ebc
  1. third_party/