JDK-8015086 : add interned strings to the shared archive
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-05-22
  • Updated: 2015-09-10
  • Resolved: 2015-06-13
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.

To download the current JDK release, click here.
9 b72Fixed
Related Reports
Relates :  
Relates :  
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.