summaryrefslogtreecommitdiff
path: root/test/1337-gc-coverage/gc_coverage.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2019-04-09 11:22:17 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-04-09 22:44:09 +0000
commit51d5a30592d1e6f6129cf8628178b201d345ce36 (patch)
tree87a652b43454b9fcf941388abfac3623cb19026b /test/1337-gc-coverage/gc_coverage.cc
parentecd21be250c434d854833aa368610c879fea9245 (diff)
Use unique mutex to synchronize runtime_callbacks
Initially we would use the mutator_lock_ to manage changes to the runtime_callbacks list. Over time this stopped being sufficent. This changes to using an explicit r/w mutex to manage these lists. Since these callbacks are not modified very often we use a single mutex for all of them. Test: ./test.py --host Test: ./art/tools/run-libjdwp-tests.sh --mode=host Bug: 121052811 Change-Id: I3ca44402a5f6290701fa8e28d18e6afe8786214c
Diffstat (limited to 'test/1337-gc-coverage/gc_coverage.cc')
0 files changed, 0 insertions, 0 deletions