summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2020-07-14 10:38:06 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2020-07-16 08:10:58 +0000
commit32846611b22619e8823e69daa91ac078dafce62a (patch)
tree370e76400b197546a6d6a16bf989c31f7db76b2b /compiler/optimizing/codegen_test_utils.h
parent7400a5466a04f9a274d262c5cb1fd35ff496839a (diff)
Fix ddm.publish_chunk extension to prevent deadlock
The ddm.publish_chunk jvmti extension event could could cause deadlocks with the GC. This is not really fixable so instead remove the JNIenv from the event function to prevent the dangerous actions from being performed. Since this is an internal API that isn't really used this should be safe enough. Rename the extension to publish_chunk_safe so users can be notified of new behavior. Also fix the test to stop relying on the buggy behavior. Test: ./test.py Bug: 161207646 Change-Id: Ib67d6607a8f359167069bc65cf5e3adaa70f0fc5
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions