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

[lworld] JNI should support inline types

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      JNI API: No issues as yet, "every as handle" fits the VM representation for native code.

      JNI implementation:
      - creation with different mirror types (indirect vs inline)
      - flatten field access
      - array access needs to support valueArrayOop, aka flattened inline type array

      Testing needs expanding to exercise:
      IsAssignableFrom
      SetObjectField
      GetObjectField
      NewObjectArray
      GetObjectArrayElement
      SetObjectArrayElement
      MonitorEnter
      MonitorExit
      IsSameObject
      AllocObject
      NewObject
      NewObjectV
      NewObjectA
      IsInstanceOf
      Call*Method functions
      GetFieldID
      GetArrayLength
      NewGlobalRef
      NewLocalRef
      NewWeakGlobalRef

        Attachments

          Activity

            People

            • Assignee:
              dsimms David Simms
              Reporter:
              dsimms David Simms
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: