Investigate Array initialization overhead

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: 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.

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: