diff --git a/src/share/vm/memory/dump.cpp b/src/share/vm/memory/dump.cpp index f6697332859f4468db5a8bb969cfffcf04eba848..658e83476656a87f952647e1758a99e3bf1ea439 100644 --- a/src/share/vm/memory/dump.cpp +++ b/src/share/vm/memory/dump.cpp @@ -929,7 +929,8 @@ public: guarantee(SystemDictionary::constraints()->number_of_entries() == 0, "loader constraints are not saved"); // Revisit and implement this if we prelink method handle call sites: - guarantee(SystemDictionary::invoke_method_table()->number_of_entries() == 0, + guarantee(SystemDictionary::invoke_method_table() == NULL || + SystemDictionary::invoke_method_table()->number_of_entries() == 0, "invoke method table is not saved"); GenCollectedHeap* gch = GenCollectedHeap::heap();