mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8014912: Restore PrintSharedSpaces functionality after NPG
Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type Reviewed-by: coleenp, acorn
This commit is contained in:
parent
f52e6781ee
commit
9dc36eb923
15 changed files with 301 additions and 36 deletions
|
@ -140,7 +140,7 @@ Method* Klass::uncached_lookup_method(Symbol* name, Symbol* signature) const {
|
|||
|
||||
void* Klass::operator new(size_t size, ClassLoaderData* loader_data, size_t word_size, TRAPS) {
|
||||
return Metaspace::allocate(loader_data, word_size, /*read_only*/false,
|
||||
Metaspace::ClassType, CHECK_NULL);
|
||||
MetaspaceObj::ClassType, CHECK_NULL);
|
||||
}
|
||||
|
||||
Klass::Klass() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue