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

uglify.js is slow with Nashorn (mostly looks like wasting time recalculating getters/setters and slow JSON parsing)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Future Project
    • Affects Version/s: 9
    • Fix Version/s: tbd_major
    • Component/s: core-libs
    • Labels:
      None

      Description

      Looking at the JFR profile, this seems to have a lot to do with getters and setters being regenerated and not cached, and megamorphic fields. Otherwise there is no apparent low hanging fruit, but we should investigate the other bottlenecks that can be seen.

        Attachments

          Activity

            People

            • Assignee:
              hannesw Hannes Wallnoefer
              Reporter:
              lagergren Marcus Lagergren
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: