summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_test.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2019-05-13 16:35:02 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-05-14 20:22:20 +0000
commite302088f50244f10c90e5f40b6e05c9574c4cf32 (patch)
tree8551a3c7d9ed52af88260307e7d0a88a00f83be8 /compiler/optimizing/stack_map_test.cc
parent23ca8fbcb23fb1eb95d192995a35f4fed53bffbd (diff)
Call ReferenceQueue add outside of active GC block
We were calling ReferenceQueue.add within the runtime GC active block. This caused java code to be run and could (potentially) cause deadlocks with JVMTI and debuggers. To fix this we collect the cleared references during the GC and only enqueue them after FinishGC. Test: ./test.py --host Test: atest CtsJdwpTunnelHostTestCases # with goldfish emulator Test: ./art/tools/run-libjdwp-tests.sh --mode=host Bug: 132460313 Change-Id: I276870096fb60a06afba7f850325d06709227b8e
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions