< prev index next >
src/hotspot/share/memory/oopFactory.cpp
Print this page
rev 52749 : Bootstrap method consolidation
* clean up and simplify JDK support code for BSM invocation
* simplify JVM bootstrap handshake: use BootstrapCallInfo only
* remove unused JVM paths and data fields
* move bootstrap argument processing from MethodHandleNatives to ConstantPool
* remove ConstantGroup; merge argument access into BootstrapCallInfo
* adjust BSM argument access: remove copyArguments, add argumentRef API
* add metadata-free BSM modes, including symbolic arguments from CP
@@ -95,5 +95,15 @@
typeArrayHandle oopFactory::new_byteArray_handle(int length, TRAPS) {
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);
+}
< prev index next >