summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2018-01-22 09:23:25 +0000
committerRichard Uhler <ruhler@google.com>2018-01-22 09:28:47 +0000
commit8bd4ae1e625964b244370e71698a8d78ebf83be5 (patch)
tree621f3f35def7bfd8ade5ff690ec7dcb836372f81 /compiler/optimizing/graph_visualizer.cc
parentf01528de9486c854b5e4da9994239b17b261084f (diff)
Reduce flakiness of 004-NativeAllocations test.
Under a GSS configuration, calls to registerNativeAllocation trigger blocking GC instead of concurrent GC, which means the main thread in the test can end up holding on to deadlockLock for longer than the finalizer timeout. The fix is to reduce the calls to registerNativeAlloation required to trigger the deadlock scenario. Bug: 68792448 Test: ./test/testrunner/testrunner.py -b -t 004-NativeAllocations Test: Verify test catches deadlock case on buggy versions of art. Change-Id: Ide417de7a5cad593afd2877054f88588b7a32be3
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions