mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-19 23:48:50 +00:00
8370663: Incorrect synchronization in nsk/jvmti/RedefineClasses when expected events are not received
Reviewed-by: sspitsyn
This commit is contained in:
parent
ec059c0e85
commit
2fc4cbe426
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -176,7 +176,6 @@ agentProc(jvmtiEnv* jvmti_env, JNIEnv* jni_env, void* arg) {
|
||||
printf("WARNING: CompiledMethodLoad event is still not received for \"%s\" after %d attempts\n"
|
||||
"\tThe test has no results\n\n",
|
||||
expHSMethod, MAX_ATTEMPTS);
|
||||
nsk_jvmti_resumeSync();
|
||||
exit(95 + PASSED);
|
||||
}
|
||||
} while (fire == 0);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -175,7 +175,6 @@ agentProc(jvmtiEnv* jvmti_env, JNIEnv* jni_env, void* arg) {
|
||||
printf("WARNING: CompiledMethodLoad event is still not received for \"%s\" after %d attempts\n"
|
||||
"\tThe test has no results\n\n",
|
||||
expHSMethod, MAX_ATTEMPTS);
|
||||
nsk_jvmti_resumeSync();
|
||||
exit(95 + PASSED);
|
||||
}
|
||||
} while (fire == 0);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -176,7 +176,6 @@ agentProc(jvmtiEnv* jvmti_env, JNIEnv* jni_env, void* arg) {
|
||||
printf("WARNING: CompiledMethodLoad event is still not received for \"%s\" after %d attempts\n"
|
||||
"\tThe test has no results\n\n",
|
||||
expHSMethod, MAX_ATTEMPTS);
|
||||
nsk_jvmti_resumeSync();
|
||||
exit(95 + PASSED);
|
||||
}
|
||||
} while (fire == 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user