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

Investigate Array initialization overhead

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None

    Description

      Array creation is currently very slow in Nashorn.

      A quick test shows that part of it due to lookup of the global Array prototype, but most of the time seems to be spent in ScriptObject.setProto().

      This needs to be investigated and improved.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: