src/share/vm/memory/universe.cpp

changeset 2308
4110c3e0c50d
parent 2301
9eecf81a02fb
parent 2305
0ac62b4d6507
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/memory/universe.cpp	Fri Nov 19 13:19:49 2010 -0800
     1.2 +++ b/src/share/vm/memory/universe.cpp	Fri Nov 19 17:01:34 2010 -0800
     1.3 @@ -864,7 +864,8 @@
     1.4      // compressed oops for pstack code.
     1.5      if (PrintCompressedOopsMode) {
     1.6        tty->cr();
     1.7 -      tty->print("heap address: "PTR_FORMAT, Universe::heap()->base());
     1.8 +      tty->print("heap address: " PTR_FORMAT ", size: " SIZE_FORMAT " MB",
     1.9 +                 Universe::heap()->base(), Universe::heap()->reserved_region().byte_size()/M);
    1.10      }
    1.11      if ((uint64_t)Universe::heap()->reserved_region().end() > OopEncodingHeapMax) {
    1.12        // Can't reserve heap below 32Gb.

mercurial