Mercurial > hg > graal-compiler
diff src/share/vm/oops/constantPool.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 | 51af5fae397d |
children | 836a62f43af9 e0c9a1d29eb4 |
line wrap: on
line diff
--- a/src/share/vm/oops/constantPool.cpp Tue May 28 11:35:57 2013 -0700 +++ b/src/share/vm/oops/constantPool.cpp Tue May 28 16:36:19 2013 -0700 @@ -55,7 +55,7 @@ // the resolved_references array, which is recreated at startup time. // But that could be moved to InstanceKlass (although a pain to access from // assembly code). Maybe it could be moved to the cpCache which is RW. - return new (loader_data, size, false, THREAD) ConstantPool(tags); + return new (loader_data, size, false, MetaspaceObj::ConstantPoolType, THREAD) ConstantPool(tags); } ConstantPool::ConstantPool(Array<u1>* tags) {