Exemplo n.º 1
0
ReturnOop ObjArrayClass::get_array_class(jint distance JVM_TRAPS) {
  if (distance == 1) {
    return obj();
  }
  UsingFastOops fast_oops;
  ObjArrayClass::Fast ac = compute_higher_dimension(JVM_SINGLE_ARG_ZCHECK(ac));
  return ac().get_array_class(distance - 1 JVM_NO_CHECK_AT_BOTTOM_0);
}
Exemplo n.º 2
0
ReturnOop TypeArrayClass::get_array_class(jint distance JVM_TRAPS) {
  if (distance == 1) {
    return obj();
  }
#if ENABLE_ISOLATES
  TaskMirror::Raw tm;
  if (Universe::before_main()) {
    tm = Universe::new_task_mirror(0, 0 JVM_CHECK_0);
    tm().set_containing_class(this);
    TaskMirror::clinit_list_add(&tm);
  }
#endif
  UsingFastOops fast_oops;
  ObjArrayClass::Fast ac = compute_higher_dimension(JVM_SINGLE_ARG_CHECK_0);
  return ac().get_array_class(distance - 1 JVM_NO_CHECK_AT_BOTTOM_0);
}