RFR: 8365940: Misleading macro in jvm_md.h:57

Matias Saavedra Silva matsaave at openjdk.org
Mon Nov 3 16:35:04 UTC 2025


On Thu, 30 Oct 2025 06:08:22 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> The macro `JVM_MAXPATHLEN` should expand to the result of `MAXPATHLEN + 1` as the original result may lead to a different value when using the macro as part of an expression. Verified with tier 1-5 tests.
>
> Trivially fine. Thanks

Thanks for the reviews @dholmes-ora and @kimbarrett!

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

PR Comment: https://git.openjdk.org/jdk/pull/28049#issuecomment-3481435327


More information about the hotspot-runtime-dev mailing list