Mercurial > hg > truffle
diff src/share/vm/oops/method.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 | e484fe2abebd |
children | 836a62f43af9 e0c9a1d29eb4 |
line wrap: on
line diff
--- a/src/share/vm/oops/method.cpp Tue May 28 11:35:57 2013 -0700 +++ b/src/share/vm/oops/method.cpp Tue May 28 16:36:19 2013 -0700 @@ -74,7 +74,7 @@ int size = Method::size(access_flags.is_native()); - return new (loader_data, size, false, THREAD) Method(cm, access_flags, size); + return new (loader_data, size, false, MetaspaceObj::MethodType, THREAD) Method(cm, access_flags, size); } Method::Method(ConstMethod* xconst, AccessFlags access_flags, int size) {