On Tue, 16 Sep 2025 02:44:26 GMT, Ioi Lam <[email protected]> wrote:

> Simplify the boilerplate code in jvm.cpp that calls 
> `JvmtiThreadState::class_to_verify_considering_redefinition()`, and reduce 
> the number of `InstanceKlass::cast()` calls.
> 
> I also changed a few fields/arguments from `Klass*` to `InstanceKlass*` as 
> these are used exclusively with `InstanceKlass*`.

This pull request has now been integrated.

Changeset: cc65836d
Author:    Ioi Lam <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/cc65836d00de7041e7d32e7f15d98108b1ae47a0
Stats:     126 lines in 3 files changed: 16 ins; 33 del; 77 mod

8367719: Refactor JNI code that uses class_to_verify_considering_redefinition()

Reviewed-by: coleenp, dholmes, sspitsyn

-------------

PR: https://git.openjdk.org/jdk/pull/27303

Reply via email to