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

[lworld] JNI should support inline types

    XMLWordPrintable

Details

    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

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

            Dates

              Created:
              Updated:
              Resolved: