Class TruffleFromLibGraalProcessor

All Implemented Interfaces:
Processor

@SupportedAnnotationTypes({"com.oracle.truffle.compiler.hotspot.libgraal.TruffleFromLibGraal","com.oracle.truffle.compiler.hotspot.libgraal.TruffleFromLibGraalRepeated"}) public class TruffleFromLibGraalProcessor extends BaseProcessor
Processor for the jdk.graal.compiler.truffle.common.hotspot.libgraal.TruffleFromLibGraal annotation that generates code to push JNI arguments to the stack and make a JNI call corresponding to a jdk.graal.compiler.truffle.common.hotspot.libgraal.TruffleFromLibGraal.Id. This helps mitigate bugs where incorrect arguments are pushed for a JNI call. Given the low level nature of org.graalvm.nativeimage.StackValue, it's very hard to use runtime assertion checking.
  • Constructor Details

    • TruffleFromLibGraalProcessor

      public TruffleFromLibGraalProcessor()
  • Method Details