Refactor JNI code that uses class_to_verify_considering_redefinition()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b17

      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

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: