JDK-8043956 : Make code caching work with optimistic typing and lazy compilation
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 8u40
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-05-26
  • Updated: 2017-08-09
  • Resolved: 2014-08-08
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.
8u40Fixed 9 b28Fixed
Related Reports
Relates :  
Relates :  
Code caching only works outside environments which us optimistic typing and lazy compilation, which will both be the defaults for 8u40. 

We need to support these so code caching can work. This will also dramatically help performance and warmup, by caching the final stable version of methods after no more erroneous type guesses can be made.

Not sure if this is a duplicate task. I can't find it in JIRA.

Triaged for 8u40 target