src/share/vm/memory/metaspace.cpp

changeset 5705
335b388c4b28
parent 5704
c4c768305a8f
child 5707
8227700da288
     1.1 --- a/src/share/vm/memory/metaspace.cpp	Thu Sep 12 10:15:54 2013 +0200
     1.2 +++ b/src/share/vm/memory/metaspace.cpp	Fri Sep 13 22:21:06 2013 +0200
     1.3 @@ -737,9 +737,7 @@
     1.4      // MinChunkSize is a placeholder for the real minimum size JJJ
     1.5      size_t byte_size = word_size * BytesPerWord;
     1.6  
     1.7 -    size_t byte_size_with_overhead = byte_size + Metablock::overhead();
     1.8 -
     1.9 -    size_t raw_bytes_size = MAX2(byte_size_with_overhead,
    1.10 +    size_t raw_bytes_size = MAX2(byte_size,
    1.11                                   Metablock::min_block_byte_size());
    1.12      raw_bytes_size = ARENA_ALIGN(raw_bytes_size);
    1.13      size_t raw_word_size = raw_bytes_size / BytesPerWord;

mercurial