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

Skip nested functions on reparse

    XMLWordPrintable

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: