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

Allow flat array layout for value based classes.

XMLWordPrintable

      Existing Primitive Boxes are value based classes, but an array of primitive boxes do not have flat layout currently, decorating them with ImplicitlyConstructible annotation will facilitate a flat runtime layout.

      Currently at build time, through text substitution all value based classes are transformed into value classes.

      Flat array layout will promote auto-vectorization of scalar operation involving value based class instances within loops, this is specially important for new Float16 type.

            jbhateja Jatin Bhateja
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: