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

David Holmes dholmes at openjdk.org
Thu Oct 30 06:11:04 UTC 2025


On Wed, 29 Oct 2025 19:27:29 GMT, Matias Saavedra Silva <matsaave 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

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28049#pullrequestreview-3397569921


More information about the hotspot-runtime-dev mailing list