RFR: 8224980: FLAG_SET_ERGO silently ignores invalid values
Igor Veresov
iveresov at openjdk.org
Tue Feb 14 04:53:37 UTC 2023
On Tue, 14 Feb 2023 04:03:36 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Clarify the `FLAG_SET_ERGO` API - the caller must ensure that a valid value is passed. Added an assert to check this.
>
> Fixed two issues found by the assert:
>
> - `NonNMethodCodeHeapSize`
> - `XXXThreshold` and `XXXNotifyFreqLog` flags in `CompilerConfig::set_compilation_policy_flags()`
Marked as reviewed by iveresov (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/12549
More information about the hotspot-dev
mailing list