summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorHans Boehm <hboehm@google.com>2019-04-22 16:15:53 -0700
committerHans Boehm <hboehm@google.com>2019-04-24 17:04:44 +0000
commit467b692bfa088098d57947ed3d764fbf1a072974 (patch)
tree88ab3ab12a8ca1f539cabed92f067cec5d00f8ea /test/ProfileTestMultiDex/Second.java
parent1973687350e8431d316655c00fc0701c0e1c4597 (diff)
Use single contention counter for rw mutexes
This halves the number of sequentially consistent contention counter loads when we release a mutex. This is more expensive than keeping the contention counter as part of the state word. But schemes to do that either risk overflow, or seem more subtle than we we would like at this stage. This gets us half-way to where we would like to be. And, since we were previously always looking at both counters anyway, it seems like low risk change. Bug: 111835365 Test: Build and boot AOSP, TreeHugger Change-Id: I752859f6c51283de3ba5078233d2873a733ad4a1
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions