[heap] Use TryMark in WriteBarrier
With concurrent marking and without TryMark, the same object can be marked and pushed to the worklist more than once (i.e. by both mutator and visitors), meaning the object will be traced multiple times. Bug: 986235 Change-Id: I6d0d8a9da79da9d459b137082f91c9125fafd8e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731838 Commit-Queue: Omer Katz <omerkatz@chromium.org> Reviewed-by:Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#684286}
Showing
Please register or sign in to comment