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

We need to size arrays better

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P2
    • 8u40
    • 9
    • core-libs
    • None
    • generic
    • generic
    • Not verified

    Description

      Checking sunspider crypto-aes 18% of the time is spent in some virtual call that we can't inline from MixColumns (due to missing type check - Hotspot fix hopefully handles this)

      Then everything is dependent on ScriptObject.doesNotHave, and various arrayData.ensure functions.

      We need to allocate more than just the array space we need for growing arrays incrementally so this doesn't keep happening.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: