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

Significant parser/frontend overhead in recompilation of avatar.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        Optimistic types introduced significant startup overhead for avatar in 8u40

        I managed to cut down Michel's startup benchmark for avatar with optimistic typing quite a bit by doing some simple changes, e.g. have the regexp engine remember correctly compiled regular expressions and remove boxing that happened even when logging was disabled.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lagergren Marcus Lagergren
                Reporter:
                lagergren Marcus Lagergren
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: