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

Value type array "default value" clean-up

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot
    • Verified

      There is some naive implementation left in the initialization of value type array arrays which needs to be removed. Code currently initialize each element individually. Current understanding of "default values" is that there are naturally "zero-ed fields", so we can also optimize non-flattened arrays memory usage by assuming NULL ref == vdefault.

      Needs JIT support.

            dsimms David Simms
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified