Please review fix for 7196103: NPG: Unable to allocate bit map for parallel garbage collection for the requested heap size
david.holmes at oracle.com
Fri Sep 7 15:46:23 PDT 2012
Is there something that describes all these different spaces and sizes
and how they are used?
On 8/09/2012 2:44 AM, Coleen Phillimore wrote:
> On 9/7/2012 10:52 AM, Jon Masamitsu wrote:
>> Could you just enforce this with code instead of an assertion?
>> I don't want to see that assertion in tomorrow's nightlies :-)
> Me neither. I fixed this as suggested. The minimal ClassMetaspaceSize is
> 1*M which is always greater than 5 MediumChunks, but now it's safer if
> someone changes something.
>> *+ assert(class_word_size< ClassMetaspaceSize/2, "should be no more
>> then half class metaspace size");*
>> class_word_size =
>> ClassMetaspaceSize is used to reserve space? I see that it's not used
>> for the initial Metaspace size.
> No, these numbers are independent.
>> Otherwise, looks good.
>> On 9/7/2012 6:33 AM, Coleen Phillimore wrote:
>>> Please reload. I incorporated some suggestions and corrections from
>>> stefank and did some tuning of the class metaspace size.
>>> 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/
More information about the hotspot-dev