JVM Flag ergonomics and constraints
David Holmes
david.holmes at oracle.com
Thu Feb 2 06:37:50 UTC 2023
<trimming>
On 2/02/2023 3:25 pm, Thomas Stüfe wrote:
> On Thu, Feb 2, 2023 at 5:30 AM David Holmes <david.holmes at oracle.com
> <mailto:david.holmes at oracle.com>> wrote:
>
> That would have to be determined case-by-case. For each ergo flag we
> would have to decide what value it is calculating and based on what,
> and
> determine whether an out-of-range value is an error or something to be
> wary of.
>
> Sure, what I meant was how to control it? Two sets of FLAT_SET_...
> macros, one that asserts on constraint violation, one that caps?
No I expect to just see the places where FLAG_SET_ERGO is called do the
right thing by checking the return value and proceeding accordingly.
Cheers,
David
>
> Cheers, Thomas
More information about the hotspot-dev
mailing list