RFR: 8367142: Avoid InstanceKlass::cast when converting java mirror to InstanceKlass [v2]
Ioi Lam
iklam at openjdk.org
Wed Sep 10 22:50:33 UTC 2025
On Wed, 10 Sep 2025 11:43:33 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
>>
>> - Merge branch 'master' into 8367142-simplify-java-mirror-handling-in-jni-methods
>> - @dholmes-ora comments - remove class_to_verify_considering_redefinition() changes, to be done in separate PR
>> - more fixes
>> - tmp: Clean up java mirror handling in JNI methods
>
> src/hotspot/share/classfile/javaClasses.hpp line 1905:
>
>> 1903:
>> 1904:
>> 1905: InstanceKlass* klass() const { return vmClasses::klass_at(klass_id); }
>
> Can you fix the indentation?
I removed all indentation alignments from this class, as they no longer seem warranted.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27158#discussion_r2338071887
More information about the serviceability-dev
mailing list