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
https://github.com/openjdk/jdk/blob/90e81c2bee86f404250fb9b833d43b18190b5272/src/hotspot/share/prims/jvm.cpp#L2600-L2604
- links to
-
Review(master) openjdk/jdk/27303