< prev index next >

src/hotspot/share/jfr/jni/jfrJavaSupport.cpp

Print this page

        

*** 166,176 **** InstanceKlass* const klass = static_cast<InstanceKlass*>(args->klass()); klass->initialize(CHECK); const int array_length = args->array_length(); ! if (array_length >= 0) { array_construction(args, result, klass, array_length, CHECK); } else { object_construction(args, result, klass, THREAD); } } --- 166,176 ---- InstanceKlass* const klass = static_cast<InstanceKlass*>(args->klass()); klass->initialize(CHECK); const int array_length = args->array_length(); ! if (array_length > 0) { array_construction(args, result, klass, array_length, CHECK); } else { object_construction(args, result, klass, THREAD); } }
< prev index next >