Mercurial > hg > graal-compiler
diff src/share/vm/memory/metaspace.cpp @ 20389:622c6e0ad4d6
8048150: Allow easy configurations for large CDS archives
Summary: Estimate the size of shared archive based on the number of classes in the classlist file
Reviewed-by: iklam, jiangli, minqi, dholmes
author | ccheung |
---|---|
date | Mon, 25 Aug 2014 00:13:36 -0700 |
parents | 6e0cb14ce59b |
children | b509b7ff561c |
line wrap: on
line diff
--- a/src/share/vm/memory/metaspace.cpp Thu Aug 28 17:05:41 2014 +0200 +++ b/src/share/vm/memory/metaspace.cpp Mon Aug 25 00:13:36 2014 -0700 @@ -3124,6 +3124,8 @@ if (DumpSharedSpaces) { #if INCLUDE_CDS + MetaspaceShared::estimate_regions_size(); + SharedReadOnlySize = align_size_up(SharedReadOnlySize, max_alignment); SharedReadWriteSize = align_size_up(SharedReadWriteSize, max_alignment); SharedMiscDataSize = align_size_up(SharedMiscDataSize, max_alignment);