8249768: Move static oops and NullPointerException oops from Universe into OopStorage

Make NPE oops an objArrayOop.

Reviewed-by: dholmes, eosterlund
This commit is contained in:
Coleen Phillimore 2020-07-22 10:32:44 -04:00
parent 4d43cf9fc6
commit 2d8e74ddea
14 changed files with 241 additions and 219 deletions

View file

@ -805,7 +805,7 @@ bool Method::needs_clinit_barrier() const {
objArrayHandle Method::resolved_checked_exceptions_impl(Method* method, TRAPS) {
int length = method->checked_exceptions_length();
if (length == 0) { // common case
return objArrayHandle(THREAD, Universe::the_empty_class_klass_array());
return objArrayHandle(THREAD, Universe::the_empty_class_array());
} else {
methodHandle h_this(THREAD, method);
objArrayOop m_oop = oopFactory::new_objArray(SystemDictionary::Class_klass(), length, CHECK_(objArrayHandle()));