--- old/src/hotspot/share/memory/oopFactory.cpp 2018-09-28 11:53:29.000000000 -0700 +++ new/src/hotspot/share/memory/oopFactory.cpp 2018-09-28 11:53:28.000000000 -0700 @@ -97,3 +97,13 @@ typeArrayOop obj = new_byteArray(length, CHECK_(typeArrayHandle())); return typeArrayHandle(THREAD, obj); } + +typeArrayHandle oopFactory::new_intArray_handle(int length, TRAPS) { + typeArrayOop obj = new_intArray(length, CHECK_(typeArrayHandle())); + return typeArrayHandle(THREAD, obj); +} + +typeArrayHandle oopFactory::new_typeArray_handle(BasicType type, int length, TRAPS) { + typeArrayOop obj = new_typeArray(type, length, CHECK_(typeArrayHandle())); + return typeArrayHandle(THREAD, obj); +}