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

Tobias Hartmann tobias.hartmann at oracle.com
Thu Oct 2 10:44:55 UTC 2014


Thanks, Staffan.

Best,
Tobias

On 02.10.2014 12:29, Staffan Larsen wrote:
> 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