Commit d64ba381 authored by Pavel Vyssotski's avatar Pavel Vyssotski
Browse files

Use WaitHoldingLocks in ReferenceProcessor::MakeCircularListIfUnenqueued.

The caller may be holding mutator_lock_, so we must use WaitHoldingLocks.
Otherwise we get 'bad_mutexes_held' error with debug build.

See also https://android-review.googlesource.com/#/c/93892

.

Change-Id: I87b1119e22a9934fdc622c4c4e2690b8b552b539
Signed-off-by: default avatarPavel Vyssotski <pavel.n.vyssotski@intel.com>
parent 152f391b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment