Add new options to enable storing all classes in SCC - #19442
Conversation
a0dbaca to
530c4cb
Compare
|
Pls create a doc issue. Why does |
I think we can let -XX:+ShareOrphans automatically turn on -Xshareclasses. |
|
0831c6e to
d78b67d
Compare
This change is added in. It means if we turn on -XX:+ShareOrphans by default in the future, -Xshareclasss will also be turned on. Rebased to resolve merge conflicts. This is ready to be reviewed again. |
9b6f286 to
4db0fdb
Compare
1. Add new options -XX:[+/-]ShareOrphans to enable/disable storing classes as orphan to SCC from SCC-unaware class loader(loader does not call SCC helper APIs). This feature is turned off by default. 2. Add runtimeFlags2 to J9SharedClassConfig. 3. Add a new mode into J9SharedClassCacheMode. 4. Turn on -Xshareclasses automatically by -XX:+ShareOrphans 5. Add test cases to make sure that classes from SCC-unaware class loader are stored into SCC and loaded in subsequent runs via byte-to-byte comparison if this feature is turned on. Closes eclipse-openj9#19323 Signed-off-by: Hang Shao <hangshao@ca.ibm.com>
|
jenkins test sanity amac jdk11 |
Closes #19323