mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8064458: OopMap class could be more compact
Reviewed-by: kvn, bdelsart
This commit is contained in:
parent
6d705e6978
commit
41e1772251
20 changed files with 549 additions and 230 deletions
|
@ -1371,10 +1371,10 @@ void CodeCache::print() {
|
|||
if (cb->is_alive()) {
|
||||
number_of_blobs++;
|
||||
code_size += cb->code_size();
|
||||
OopMapSet* set = cb->oop_maps();
|
||||
ImmutableOopMapSet* set = cb->oop_maps();
|
||||
if (set != NULL) {
|
||||
number_of_oop_maps += set->size();
|
||||
map_size += set->heap_size();
|
||||
number_of_oop_maps += set->count();
|
||||
map_size += set->size();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue