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

Skip nested functions on reparse

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: