RFR: 8176573: Do not use FLAG_SET_ERGO to update MaxRAM for emulated client
Vladimir Kozlov
vladimir.kozlov at oracle.com
Tue Mar 14 01:41:54 UTC 2017
Good.
Thanks,
Vladimir
On 3/13/17 11:16 AM, Jamsheed C m wrote:
> Hi,
>
> Request for review for a small change:
>
> Issue: setting MaxRAM using FLAG_SET_ERGO doesn't work well with set_heap_size based on available physical memory[1]
>
> Fix: use FLAG_SET_DEFAULT to update MaxRAM.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8176573
>
> webrev: http://cr.openjdk.java.net/~jcm/8176573/webrev.00/
>
> testing: jprt
>
> Best Regards,
>
> Jamsheed
>
> [1]
>
> void Arguments::set_heap_size() {
> julong phys_mem =
> FLAG_IS_DEFAULT(MaxRAM) ? MIN2(os::physical_memory(), (julong)MaxRAM)
> : (julong)MaxRAM;
>
>
More information about the hotspot-compiler-dev
mailing list