[jdk17u-dev] RFR: 8297106: Remove the -Xcheck:jni local reference capacity checking

Matthias Baesken mbaesken at openjdk.org
Wed Jul 16 11:43:40 UTC 2025


On Tue, 15 Jul 2025 07:46:39 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.17-oracle.
> 
> I had to do a trivial resolve in jniHandles.hpp.
> The text removed in java.1 differs in formatting.
> 
> Two tests have different content, so I deleted them manually.

`size_t _planned_capacity;`
is still in jniHandles.hpp  but was removed in  https://github.com/openjdk/jdk/commit/692bedbc1df153f362b8e85693f20b089b5594e2  .

Is there really a need to keep it  or was the removal forgotten ?
Otherwise looks okay to me.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3749#issuecomment-3078201177


More information about the jdk-updates-dev mailing list