RFR: 8366024: Remove unnecessary InstanceKlass::cast() [v2]
Ioi Lam
iklam at openjdk.org
Fri Aug 29 06:08:42 UTC 2025
On Thu, 28 Aug 2025 06:13:26 GMT, David Holmes <dholmes at openjdk.org> wrote:
> FWIW `jfieldIDWorkaround::encode_klass_hash` does seem to end up getting called only when `k` is an `instanceKlass` but we should file a cleanup RFE to change the parameter type.
I have filed [JDK-8366417](https://bugs.openjdk.org/browse/JDK-8366417) - jfieldIDWorkaround should use InstanceKlass* instead of Klass*
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26908#issuecomment-3235833281
More information about the hotspot-dev
mailing list