CompilerTest execution time dominated by Field.setAccessible

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • None
    • b92
    • generic
    • generic

        Execution time of Nashorn's jdk.nashorn.internal.codegen.test.CompilerTest is dominated by Field.setAccessible in the ASTWriter. Caching accessible fields reduces the execution time from 38s to 9s; a significant improvement in the run time.

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

                Created:
                Updated:
                Resolved: