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

Performance regression due to anonymous classloading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None
    • b85
    • generic
    • generic

        There is a noticeable performance regression in several octane benchmarks due to JDK-8135251 that shows only when anonymous classes are enabled. It seems that while anonymous classes, while faster to load, have different optimization behaviour, causing different speed of optimized code.

        As a suggested workaround, we may keep anonymous classes for eval and shell code (which often is throw-away code that is only run once) and disable it for compilation of ordinary scripts.

              hannesw Hannes Wallnoefer
              hannesw Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: