JDK-8035828 : Turn on @Stable support in VM
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-26
  • Updated: 2022-05-02
  • Resolved: 2014-03-04
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 8 JDK 9
8u20Fixed 9 b06Fixed
Related Reports
Relates :  
Relates :  
Description
@Stable was added in 8 as an experimental feature.

On VM side, 2 flags are used: 
  * FoldStableValues
  * UseImplicitStableValues

Future JSR292 performance improvements rely on it, so it should be turned on by default.

Turn it on in 9 first and then backport to 8u20.
 
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/aed8e1fe80eb User: lana Date: 2014-03-25 20:48:41 +0000
25-03-2014

URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/aed8e1fe80eb User: vlivanov Date: 2014-03-04 12:02:38 +0000
04-03-2014