summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-07-18 15:39:16 +0000
committerAlex Light <allight@google.com>2018-07-18 16:10:50 -0700
commitd7da3147fea647ade418337aed6a8f9402412611 (patch)
tree74907194b84807ae327ba9aff876e1f9d4bbf7a4 /compiler/optimizing/instruction_builder.h
parenteee2ee8e17aa65656e9946c5beb4a0a49fee7509 (diff)
Revert^4 "Rewrite JVMTI method tracing to use trampolines"
Since we are unable to change the semantics of ClassLoaded and ClassPrepared due to b/111394423 for the moment changes were made in libjdwp to remove the deadlock between the jit being stopped and jit-threads trying to lock JVMTI monitors in libjdwp. Until some resolution for b/111394423 is implemented agents should be very careful about gaining locks in the ClassLoaded, ClassPrepared or VMObjectAlloc events if said lock is held over a call to SetEventNotificationMode, SetExtensionEventCallback, RetransformClasses, or RedefineClasses. These locks can only be safely held if the object argument to the event is not an array-class object or the thread is known not to be a jit thread. This reverts commit bf2ca05ccf658a9f626d1cb3f1adca6087ece7b8. Bug: 111394423 Test: ./art/tools/run-libjdwp-tests.sh --mode=host --debug Reason for revert: Fixed issue with libjdwp deadlocking on jit threads Change-Id: I8baeb8311f67062cbc26286eb221da34e1972f27
Diffstat (limited to 'compiler/optimizing/instruction_builder.h')
0 files changed, 0 insertions, 0 deletions