RFR: 8200195 : serviceability/jvmti/FieldAccessWatch/FieldAccessWatch.java crashes with "assert(thread->thread_state() == _thread_in_native) failed: coming from wrong thread state"
Alex Menkov
alexey.menkov at oracle.com
Mon Apr 9 21:13:49 UTC 2018
Hi all,
Please review a fix for https://bugs.openjdk.java.net/browse/JDK-8200195
webrev: http://cr.openjdk.java.net/~amenkov/field_access_graal/webrev/
The problem with the test is it uses cached JNIEnv value instead using a
value passed to the callbacks. JNIEnv is valid only for the current thread.
--alex
More information about the serviceability-dev
mailing list