We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e66fd6f commit e42c134Copy full SHA for e42c134
src/jdk.jdwp.agent/share/native/libjdwp/util.c
@@ -1008,16 +1008,9 @@ void
1008
debugMonitorEnter(jrawMonitorID monitor)
1009
{
1010
jvmtiError error;
1011
- while (JNI_TRUE) {
1012
- error = JVMTI_FUNC_PTR(gdata->jvmti,RawMonitorEnter)
1013
- (gdata->jvmti, monitor);
1014
- error = ignore_vm_death(error);
1015
- if (error == JVMTI_ERROR_INTERRUPT) {
1016
- handleInterrupt();
1017
- } else {
1018
- break;
1019
- }
1020
+ error = JVMTI_FUNC_PTR(gdata->jvmti,RawMonitorEnter)
+ (gdata->jvmti, monitor);
+ error = ignore_vm_death(error);
1021
if (error != JVMTI_ERROR_NONE) {
1022
EXIT_ERROR(error, "on raw monitor enter");
1023
}
0 commit comments