File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
jcl/src/java.base/share/classes/java/lang Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 72
72
import jdk .internal .reflect .CallerSensitiveAdapter ;
73
73
/*[ENDIF] JAVA_SPEC_VERSION >= 18 */
74
74
75
+ /*[IF CRIU_SUPPORT]*/
76
+ import openj9 .internal .criu .NotCheckpointSafe ;
77
+ /*[ENDIF] CRIU_SUPPORT*/
78
+
75
79
/**
76
80
* ClassLoaders are used to dynamically load, link and install
77
81
* classes into a running image.
@@ -1460,6 +1464,9 @@ private static boolean registerAsParallelCapable(Class<?> callerCls) {
1460
1464
* @see java.lang.ClassLoader
1461
1465
*
1462
1466
*/
1467
+ /*[IF CRIU_SUPPORT]*/
1468
+ @ NotCheckpointSafe
1469
+ /*[ENDIF] CRIU_SUPPORT */
1463
1470
protected Object getClassLoadingLock (final String className ) {
1464
1471
Object lock = this ;
1465
1472
if (isParallelCapable ) {
You can’t perform that action at this time.
0 commit comments