Integrated: 8224980: FLAG_SET_ERGO silently ignores invalid values

Ioi Lam iklam at openjdk.org
Thu Feb 16 03:58:47 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()`

This pull request has now been integrated.

Changeset: 573c316c
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/573c316c5764ccd8d483f1f187fd6eb21ceeea63
Stats:     42 lines in 5 files changed: 23 ins; 1 del; 18 mod

8224980: FLAG_SET_ERGO silently ignores invalid values

Reviewed-by: iveresov, dholmes

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

PR: https://git.openjdk.org/jdk/pull/12549


More information about the hotspot-dev mailing list