Commit 111b1095 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

ART: Change contention logging lock strategy

Compute possible contention (wrt/ sampling) first. Then keep the whole
logging section under the mutator lock *and* the thread-list lock so
as to avoid any thread races.

This change is in preparation for heavier logging under heavy lock
contention.

Enable contention logging in 004-ThreadStress.

Bug: 62353392
Test: m test-art-host
Change-Id: I7b9126bae273f0cddb681f5f013ce6d814c7b8c0
parent 19921b70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment