Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8057148

Skip nested functions on reparse

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • core-libs
    • b31
    • generic
    • generic

        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.

              attila Attila Szegedi
              attila Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: