Skip to content

Commit

Permalink
cacheDirPerm should be set if -Xshareclasses is not specified
Browse files Browse the repository at this point in the history
SCC is enabled by default when -Xshareclasses is not specified in the
CML. cacheDirPerm should be set to J9SH_DIRPERM_ABSENT in this case.

Closes #19328

Signed-off-by: Hang Shao <hangshao@ca.ibm.com>
  • Loading branch information
hangshao0 committed May 23, 2024
1 parent ab210af commit e791e5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/shared/shrclssup.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ IDATA J9VMDllMain(J9JavaVM* vm, IDATA stage, void* reserved)
vm->sharedCacheAPI->verboseFlags = J9SHR_VERBOSEFLAG_ENABLE_VERBOSE_DEFAULT;
}
vm->sharedCacheAPI->runtimeFlags = runtimeFlags;
vm->sharedCacheAPI->cacheDirPerm = J9SH_DIRPERM_ABSENT;
}
}

Expand Down

0 comments on commit e791e5b

Please sign in to comment.