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

[lworld] Implement new instance-accepting array unsafe operations

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • hotspot

      Since arrays are now polymorphic, it would be helpful if core libraries can access properties of arrays to classify them quickly. Here are some desired APIs in Unsafe:

      1. arrayLayout0 - the actual type of array (combined with class)
      2. arrayBaseOffset1 - the offset from the flat/refArrayKlass
      3. arrayIndexScale1 - the scale from the flat/refArrayKlass

            Unassigned Unassigned
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: