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

[JVMCI] Add possibility to convert object JavaConstant to jobject.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 21
    • 21
    • hotspot
    • b14

      For the Truffle runtime to be a standard module on the JVM module path, it must not have a dependency on the `jdk.internal.vm.ci` module. One necessary modification involves unpacking the Java constant. On the Truffle runtime side, the use of the `jdk.vm.ci.meta.JavaConstant` class must be removed, and the libjvmci compiler must pass an already unpacked Java constant to the Truffle runtime. The `jdk.vm.ci.hotspot.HotSpotObjectConstant` must be unpacked into a HotSpot heap JNI jobject that is passed as an argument to the host using the JNI invocation API.

            tzezula Tomáš Zezula
            tzezula Tomáš Zezula
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: