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

[JVMCI] Add possibility to lookup ResolvedJavaType from jclass.

XMLWordPrintable

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

      In order for the truffle runtime to be a standard module on the JVM module path, it cannot have a dependency on the `jdk.internal.vm.ci` module. One of the necessary modifications involves the transfer of the Java type between the Truffle runtime and the libjvmci compiler. On the Truffle runtime side, the `jdk.vm.ci.meta.JavaResolvedType` must be replaced by `java.lang.Class`. The `Class` is passed to the libjvmci compiler as a JNI `jclass` reference, which must be converted to `jdk.vm.ci.meta.JavaResolvedType`. 

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

              Created:
              Updated:
              Resolved: