RFR: 8359922: Incorrect comment for variable NMethodSizeLimit

Tobias Hartmann thartmann at openjdk.org
Wed Jun 18 14:15:29 UTC 2025


On Wed, 18 Jun 2025 13:26:36 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> This PR fix a incorrect for variable `NMethodSizeLimit`. The [default value](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/c1/c1_globals.hpp#L279) of `NMethodSizeLimit` is `64K * wordSize`.
> 
> Trivial fix, no risk.

I think this flag will go away with [JDK-8358578](https://bugs.openjdk.org/browse/JDK-8358578), so it's not worth fixing.

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

PR Comment: https://git.openjdk.org/jdk/pull/25873#issuecomment-2984391894


More information about the hotspot-compiler-dev mailing list