RFR: 8367719: Refactor JNI code that uses class_to_verify_considering_redefinition() [v2]

Ioi Lam iklam at openjdk.org
Sat Sep 20 06:43:02 UTC 2025


On Sat, 20 Sep 2025 05:54:38 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - @coleenp and @dholmes-ora comments -- simplify implementation; fixed code formatting
>>  - Merge branch 'master' into 8367719-refactor-jni-code-that-uses-class_to_verify_considering_redefinition
>>  - 8367719: Refactor JNI code that uses class_to_verify_considering_redefinition()
>
> src/hotspot/share/prims/jvm.cpp line 2259:
> 
>> 2257: //   get_klass_considering_redefinition(), or
>> 2258: //   get_instance_klass_considering_redefinition()
>> 2259: // These function return JvmtiThreadState::_scratch_class if the verifier
> 
> Nit: Replaces: `These function` => `These functions`

Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27303#discussion_r2365353625


More information about the serviceability-dev mailing list