Mercurial > hg > truffle
diff src/share/vm/memory/universe.hpp @ 6865:4202510ee0fe
8000831: Heap verification output incorrect/incomplete
Summary: Restore non-silent output of heap verification.
Reviewed-by: ysr, brutisso, jmasa
author | johnc |
---|---|
date | Mon, 15 Oct 2012 10:02:42 -0700 |
parents | 2a48c84f1d04 |
children | 633ba56cb013 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.hpp Tue Oct 09 22:12:25 2012 +0200 +++ b/src/share/vm/memory/universe.hpp Mon Oct 15 10:02:42 2012 -0700 @@ -403,8 +403,14 @@ // Debugging static bool verify_in_progress() { return _verify_in_progress; } - static void verify(bool silent = false, - VerifyOption option = VerifyOption_Default ); + static void verify(bool silent, VerifyOption option); + static void verify(bool silent) { + verify(silent, VerifyOption_Default /* option */); + } + static void verify() { + verify(false /* silent */); + } + static int verify_count() { return _verify_count; } // The default behavior is to call print_on() on gclog_or_tty. static void print();