提交 751885a6 编写于 作者: N never

6831604: missing null check in guarantee

Reviewed-by: kvn
上级 d3ea6c89
...@@ -929,7 +929,8 @@ public: ...@@ -929,7 +929,8 @@ public:
guarantee(SystemDictionary::constraints()->number_of_entries() == 0, guarantee(SystemDictionary::constraints()->number_of_entries() == 0,
"loader constraints are not saved"); "loader constraints are not saved");
// Revisit and implement this if we prelink method handle call sites: // 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"); "invoke method table is not saved");
GenCollectedHeap* gch = GenCollectedHeap::heap(); GenCollectedHeap* gch = GenCollectedHeap::heap();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册