openj9-docs icon indicating copy to clipboard operation
openj9-docs copied to clipboard

-Xshareclasses automatically turns on -XX:+ShareOrphans

Open hangshao0 opened this issue 1 year ago • 0 comments

Issue or pull request number: https://github.com/eclipse-openj9/openj9/pull/19679

Overview: OpenJ9 introduced options -XX:+ShareOrphans and -XX:-ShareOrphans in 0.46 release. See https://github.com/eclipse-openj9/openj9-docs/issues/1330. User has to explicitly specify -XX:+ShareOrphans to turn on this feature. In 0.47 release, if option -Xshareclasses is specified in the command line, it automatically turns on -XX:+ShareOrphans.

Release target: Eclipse OpenJ9 0.47

Applies to the following JDK versions: All versions

Applies to the following platforms: All platforms

hangshao0 avatar Jun 14 '24 22:06 hangshao0