[9] RFR(XS): 8059596: VM startup fails with 'Invalid code heap sizes' if -XX:ReservedCodeCacheSize is set

Staffan Larsen staffan.larsen at oracle.com
Thu Oct 2 10:29:38 UTC 2014


Looks good!

Thanks,
/Staffan

On 2 okt 2014, at 11:17, Tobias Hartmann <Tobias.Hartmann at oracle.com> wrote:

> Hi,
> 
> please review this small patch.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8059596
> Webrev: http://cr.openjdk.java.net/~thartmann/8059596/webrev.00/
> 
> Problem:
> The VM startup fails with 'Invalid code heap sizes' if -XX:ReservedCodeCacheSize >= 240M is specified. The problem is that in Arguments::set_tiered_flags() the code cache size is increased by 5 if TieredCompilation is enabled. This should only be done for default values.
> 
> Solution:
> Add missing FLAG_IS_DEFAULT(ReservedCodeCacheSize) check.
> 
> Thanks,
> Tobias



More information about the hotspot-dev mailing list