Integrated: 8365885: Clean up constant pool reflection native code

Chen Liang liach at openjdk.org
Tue Aug 26 20:56:43 UTC 2025


On Wed, 20 Aug 2025 21:29:29 GMT, Chen Liang <liach at openjdk.org> wrote:

> When I was trying to reuse this constant pool reflection for assembly phase indy argument validation, I noted the JNI code has a lot of confusing arguments. In particular, the JVM_ConstantPoolGetSize is wrong because of argument confusion. We should remove the unused arguments to reduce confusion.

This pull request has now been integrated.

Changeset: b426151a
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b426151a33158637eb04c07a5133d95cbb8bf04c
Stats:     142 lines in 6 files changed: 18 ins; 3 del; 121 mod

8365885: Clean up constant pool reflection native code

Reviewed-by: iklam, alanb

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

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


More information about the hotspot-dev mailing list