comparison src/share/vm/oops/klass.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 6bd680e9ea35
children f2110083203d
comparison
equal deleted inserted replaced
10353:9ea643afcaaf 10376:a1ebd310d5c1
138 return NULL; 138 return NULL;
139 } 139 }
140 140
141 void* Klass::operator new(size_t size, ClassLoaderData* loader_data, size_t word_size, TRAPS) { 141 void* Klass::operator new(size_t size, ClassLoaderData* loader_data, size_t word_size, TRAPS) {
142 return Metaspace::allocate(loader_data, word_size, /*read_only*/false, 142 return Metaspace::allocate(loader_data, word_size, /*read_only*/false,
143 Metaspace::ClassType, CHECK_NULL); 143 MetaspaceObj::ClassType, CHECK_NULL);
144 } 144 }
145 145
146 Klass::Klass() { 146 Klass::Klass() {
147 Klass* k = this; 147 Klass* k = this;
148 148