diff src/share/vm/services/memSnapshot.cpp @ 6599:4acebbe310e1

7185614: NMT ON: "check by caller" assertion failed on nsk ThreadMXBean test 7187429: NMT ON: Merge failure should cause NMT to shutdown Summary: Fixed NMT assertion failures Reviewed-by: acorn, kvn
author zgu
date Wed, 01 Aug 2012 17:19:30 -0400
parents f1f45dddb0bd
children e5bf1c79ed5b
line wrap: on
line diff
--- a/src/share/vm/services/memSnapshot.cpp	Mon Jul 23 14:28:38 2012 -0700
+++ b/src/share/vm/services/memSnapshot.cpp	Wed Aug 01 17:19:30 2012 -0400
@@ -344,7 +344,7 @@
           // due to platform dependent behaviors. On some platforms, we see uncommit/release
           // native thread stack, but some, we don't.
           if (!cur_vm->is_uncommit_record() && !cur_vm->is_deallocation_record()) {
-            ShouldNotReachHere();
+            fatal(err_msg("Should not reach here, pointer flags = [%x]", cur_vm->flags()));
           }
 #endif
         }