comparison src/share/vm/memory/dump.cpp @ 714:981375ca07b7 hs16-b01

6831604: missing null check in guarantee Reviewed-by: kvn
author never
date Fri, 17 Apr 2009 12:22:18 -0700
parents e5b0439ef4ae
children 4ce7240d622c
comparison
equal deleted inserted replaced
713:4961a8a726a4 714:981375ca07b7
927 // more important now that we don't re-initialize vtables/itables for 927 // more important now that we don't re-initialize vtables/itables for
928 // shared classes at runtime, where constraints were previously created. 928 // shared classes at runtime, where constraints were previously created.
929 guarantee(SystemDictionary::constraints()->number_of_entries() == 0, 929 guarantee(SystemDictionary::constraints()->number_of_entries() == 0,
930 "loader constraints are not saved"); 930 "loader constraints are not saved");
931 // Revisit and implement this if we prelink method handle call sites: 931 // Revisit and implement this if we prelink method handle call sites:
932 guarantee(SystemDictionary::invoke_method_table()->number_of_entries() == 0, 932 guarantee(SystemDictionary::invoke_method_table() == NULL ||
933 SystemDictionary::invoke_method_table()->number_of_entries() == 0,
933 "invoke method table is not saved"); 934 "invoke method table is not saved");
934 GenCollectedHeap* gch = GenCollectedHeap::heap(); 935 GenCollectedHeap* gch = GenCollectedHeap::heap();
935 936
936 // At this point, many classes have been loaded. 937 // At this point, many classes have been loaded.
937 938