mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david. Co-authored-by: David Lindholm <david.lindholm@oralce.com> Reviewed-by: sjohanss, david, brutisso
This commit is contained in:
parent
581eb19018
commit
ffeb0bdad0
200 changed files with 3331 additions and 6147 deletions
|
@ -954,11 +954,11 @@ bool FileMapInfo::is_in_shared_space(const void* p) {
|
|||
}
|
||||
|
||||
void FileMapInfo::print_shared_spaces() {
|
||||
gclog_or_tty->print_cr("Shared Spaces:");
|
||||
tty->print_cr("Shared Spaces:");
|
||||
for (int i = 0; i < MetaspaceShared::n_regions; i++) {
|
||||
struct FileMapInfo::FileMapHeader::space_info* si = &_header->_space[i];
|
||||
char *base = _header->region_addr(i);
|
||||
gclog_or_tty->print(" %s " INTPTR_FORMAT "-" INTPTR_FORMAT,
|
||||
tty->print(" %s " INTPTR_FORMAT "-" INTPTR_FORMAT,
|
||||
shared_region_name[i],
|
||||
p2i(base), p2i(base + si->_used));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue