Commit caa82d61 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Fix lock order checking violation.

Turns out you can't do thread state changes while holding locks.
This change fixes occasional lock violations in ThreadStress test.

Also moved the usleep in TransitionCollector outside of the place we
hold the gc_complete_lock_.

Change-Id: Ib3a85fffdbea80b64d72a2ad7e916251340c22e6
parent 27e180ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment