comparison src/share/vm/oops/constMethod.cpp @ 4773: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 0c3ee6f1fa23
children e0c9a1d29eb4
comparison
equal deleted inserted replaced
10:c2c9c0175f31 11:31c33524817b
38 int byte_code_size, 38 int byte_code_size,
39 InlineTableSizes* sizes, 39 InlineTableSizes* sizes,
40 MethodType method_type, 40 MethodType method_type,
41 TRAPS) { 41 TRAPS) {
42 int size = ConstMethod::size(byte_code_size, sizes); 42 int size = ConstMethod::size(byte_code_size, sizes);
43 return new (loader_data, size, true, THREAD) ConstMethod( 43 return new (loader_data, size, true, MetaspaceObj::ConstMethodType, THREAD) ConstMethod(
44 byte_code_size, sizes, method_type, size); 44 byte_code_size, sizes, method_type, size);
45 } 45 }
46 46
47 ConstMethod::ConstMethod(int byte_code_size, 47 ConstMethod::ConstMethod(int byte_code_size,
48 InlineTableSizes* sizes, 48 InlineTableSizes* sizes,