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

Investigate Array initialization overhead

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: