8235225: Replace CHECK_0 with CHECK_NULL for non-integer returning methods

Change CHECK_0 to CHECK_NULL and CHECK_false where appropriate

Reviewed-by: mikael, dholmes, coleenp
This commit is contained in:
Harold Seigel 2020-02-27 13:00:05 +00:00
parent 2ba0575cea
commit a1e9328367
13 changed files with 57 additions and 57 deletions

View file

@ -979,7 +979,7 @@ bool SystemDictionaryShared::add_unregistered_class(InstanceKlass* k, TRAPS) {
bool isnew = _loaded_unregistered_classes.put(name, true);
assert(isnew, "sanity");
MutexLocker mu_r(THREAD, Compile_lock); // add_to_hierarchy asserts this.
SystemDictionary::add_to_hierarchy(k, CHECK_0);
SystemDictionary::add_to_hierarchy(k, CHECK_false);
return true;
}
}