This commit is contained in:
Igor Veresov 2010-11-19 17:01:34 -08:00
commit 15c6dde68a
6 changed files with 30 additions and 19 deletions

View file

@ -864,7 +864,8 @@ jint Universe::initialize_heap() {
// compressed oops for pstack code.
if (PrintCompressedOopsMode) {
tty->cr();
tty->print("heap address: "PTR_FORMAT, Universe::heap()->base());
tty->print("heap address: " PTR_FORMAT ", size: " SIZE_FORMAT " MB",
Universe::heap()->base(), Universe::heap()->reserved_region().byte_size()/M);
}
if ((uint64_t)Universe::heap()->reserved_region().end() > OopEncodingHeapMax) {
// Can't reserve heap below 32Gb.