JDK-8015086 : add interned strings to the shared archive
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Storing interned java.lang.String objects in the shared archive has two main advantages:
1) the strings can be shared across multiple JVM instances
2) strings loaded by ldc can be embedded in ahead-of-time compiled code
Chris, thanks for the info!
Find attached my patch which can use interned strings in the shared archive.
Jiangli, maybe you can reuse this bug for your work.