Skip to content

Commit 22de641

Browse files
authored
Merge pull request #22214 from lzhou2025/frozenClassV2
RAM Class Persistence: Remove redundant call to initializeSnapshotClassObject
2 parents 25d54f3 + 3a7b1cb commit 22de641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/jcl/common/jcldefine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ defineClassCommon(JNIEnv *env, jobject classLoaderObject,
169169

170170
if (!vmFuncs->loadWarmClassFromSnapshot(currentThread, classLoader, clazz)) {
171171
clazz = NULL;
172+
goto done;
172173
}
173174

174-
clazz = vmFuncs->initializeSnapshotClassObject(vm, classLoader, clazz);
175175
if (NULL != protectionDomain) {
176176
J9VMJAVALANGCLASS_SET_PROTECTIONDOMAIN(
177177
currentThread,

0 commit comments

Comments
 (0)