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

CompilerTest execution time dominated by Field.setAccessible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: