JDK-8057148 : Skip nested functions on reparse
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-09-03
  • Updated: 2015-06-04
  • Resolved: 2014-09-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 b31Fixed
Related Reports
Relates :  
When we reparse functions (as first step of recompiling them), we can safely skip nested function bodies, as we're ignoring them anyway (on-demand compilation always compiles only one function, neither the ones nesting it, nor the ones nested in it). For large scripts (e.g. mandreel), not needing to parse all the functions when recompiling outermost :program is quite significant.