Please review fix for 7196103: NPG: Unable to allocate bit map for parallel garbage collection for the requested heap size

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Sep 7 09:30:29 PDT 2012


arguments.cpp:

   // 100,000 classes seems like a good size, so 100M assumes around 100 bytes

100Mb/100000 = 1Kb, not 100 bytes :)

Otherwise looks good.

Thanks,
Vladimir

Coleen Phillimore wrote:
> 
> Please reload.  I incorporated some suggestions and corrections from 
> stefank and did some tuning of the class metaspace size.
> 
> Thanks,
> Coleen
> 
> On 9/7/2012 7:22 AM, Coleen Phillimore wrote:
>> Summary: Don't allocate huge class metaspace size by default on x64
>>
>> This was preventing other mmap regions from being initialized on 
>> windows 64.  I also added some checking around the ClassMetaspaceSize 
>> option.  1*M seems to be minimal for startup size
>>
>> open webrev at http://cr.openjdk.java.net/~coleenp/7196103/
>>
>> Thanks,
>> Coleen
>>
>>


More information about the hotspot-dev mailing list