< prev index next >
src/share/vm/gc/parallel/psVirtualspace.cpp
Print this page
*** 211,234 ****
assert(reserved_high_addr() == committed_high_addr(), "bad high addrs");
assert(reserved_low_addr() <= committed_low_addr(), "bad low addrs");
}
}
- void PSVirtualSpace::print() const {
- gclog_or_tty->print_cr("virtual space [" PTR_FORMAT "]: alignment="
- SIZE_FORMAT "K grows %s%s",
- p2i(this), alignment() / K, grows_up() ? "up" : "down",
- special() ? " (pinned in memory)" : "");
- gclog_or_tty->print_cr(" reserved=" SIZE_FORMAT "K"
- " [" PTR_FORMAT "," PTR_FORMAT "]"
- " committed=" SIZE_FORMAT "K"
- " [" PTR_FORMAT "," PTR_FORMAT "]",
- reserved_size() / K,
- p2i(reserved_low_addr()), p2i(reserved_high_addr()),
- committed_size() / K,
- p2i(committed_low_addr()), p2i(committed_high_addr()));
- }
#endif // #ifndef PRODUCT
void PSVirtualSpace::print_space_boundaries_on(outputStream* st) const {
st->print_cr(" [" PTR_FORMAT ", " PTR_FORMAT ", " PTR_FORMAT ")",
p2i(low_boundary()), p2i(high()), p2i(high_boundary()));
--- 211,220 ----
< prev index next >