Mercurial > hg > truffle
diff src/share/vm/oops/symbol.cpp @ 10376:a1ebd310d5c1
8014912: Restore PrintSharedSpaces functionality after NPG
Summary: Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn
author | iklam |
---|---|
date | Tue, 28 May 2013 16:36:19 -0700 |
parents | 8c03fc47511d |
children | d9eed26d638a |
line wrap: on
line diff
--- a/src/share/vm/oops/symbol.cpp Tue May 28 11:35:57 2013 -0700 +++ b/src/share/vm/oops/symbol.cpp Tue May 28 16:36:19 2013 -0700 @@ -55,7 +55,7 @@ address res; int alloc_size = size(len)*HeapWordSize; res = (address) Metaspace::allocate(loader_data, size(len), true, - Metaspace::NonClassType, CHECK_NULL); + MetaspaceObj::SymbolType, CHECK_NULL); return res; }