hotspot/src/share/vm/code/nmethod.cpp
changeset 13881 a326d528f3e1
parent 13728 882756847a04
child 13883 6979b9850feb
--- a/hotspot/src/share/vm/code/nmethod.cpp	Fri Sep 14 22:00:41 2012 -0700
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Mon Sep 17 12:57:58 2012 -0700
@@ -700,7 +700,9 @@
     // then print the requested information
     if (PrintNativeNMethods) {
       print_code();
-      oop_maps->print();
+      if (oop_maps != NULL) {
+        oop_maps->print();
+      }
     }
     if (PrintRelocations) {
       print_relocations();