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

Refactor JNI code that uses class_to_verify_considering_redefinition()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      Simplify the boilerplate code in jvm.cpp that calls JvmtiThreadState::class_to_verify_considering_redefinition(), and reduce the number of InstanceKlass::cast() calls.

      https://github.com/openjdk/jdk/blob/90e81c2bee86f404250fb9b833d43b18190b5272/src/hotspot/share/prims/jvm.cpp#L2600-L2604

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: