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: 2023-09-03
  • 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.
JDK 9
9 b72Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
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
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/e43885496ea0 User: lana Date: 2015-07-08 22:17:29 +0000
08-07-2015

URL: http://hg.openjdk.java.net/jdk9/jdk9/rev/3a36d56f31ec User: lana Date: 2015-07-08 22:17:14 +0000
08-07-2015

URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/e43885496ea0 User: jiangli Date: 2015-06-13 04:40:57 +0000
13-06-2015

URL: http://hg.openjdk.java.net/jdk9/hs-rt/rev/3a36d56f31ec User: jiangli Date: 2015-06-13 04:40:54 +0000
13-06-2015

Chris, thanks for the info!
30-09-2013

Find attached my patch which can use interned strings in the shared archive.
29-09-2013

Jiangli, maybe you can reuse this bug for your work.
29-09-2013