JDK-8139268 : CompactStrings flag handling without extending the JVM interface
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-09
  • Updated: 2015-10-12
  • Resolved: 2015-10-12
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
9Fixed
Description
Right now, the implementation introduces a new JVM_IsCompactStrings method in the JVM interface. That interface is a public one, and we might want to consider more private way to poll VM about the capability.

Or maybe ask runtime to overwrite the "static final boolean COMPACT_STRINGS" with an actual value during the Genesis.
Comments
Pushed: http://hg.openjdk.java.net/jdk9/sandbox/hotspot/rev/255624acda7f http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/e9727a782b37
12-10-2015

Initial implementation: http://cr.openjdk.java.net/~shade/8139268/webrev.hs.00/ http://cr.openjdk.java.net/~shade/8139268/webrev.jdk.00/
09-10-2015