diff -r 7fd047780d47 -r a326d528f3e1 hotspot/src/share/vm/code/nmethod.cpp --- 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();