Print this page
rev 1082 : [mq]: indy.compiler.patch

Split Close
Expand all
Collapse all
          --- old/src/share/vm/ci/ciObjectFactory.cpp
          +++ new/src/share/vm/ci/ciObjectFactory.cpp
↓ open down ↓ 145 lines elided ↑ open up ↑
 146  146        ->as_obj_array_klass_klass();
 147  147    ciEnv::_ArrayStoreException =
 148  148      get(SystemDictionary::ArrayStoreException_klass())
 149  149        ->as_instance_klass();
 150  150    ciEnv::_Class =
 151  151      get(SystemDictionary::class_klass())
 152  152        ->as_instance_klass();
 153  153    ciEnv::_ClassCastException =
 154  154      get(SystemDictionary::ClassCastException_klass())
 155  155        ->as_instance_klass();
      156 +  if (EnableInvokeDynamic) {
      157 +    ciEnv::_InvokeDynamic =
      158 +      get(SystemDictionary::InvokeDynamic_klass())->as_instance_klass();
      159 +  }
 156  160    ciEnv::_Object =
 157  161      get(SystemDictionary::object_klass())
 158  162        ->as_instance_klass();
 159  163    ciEnv::_Throwable =
 160  164      get(SystemDictionary::throwable_klass())
 161  165        ->as_instance_klass();
 162  166    ciEnv::_Thread =
 163  167      get(SystemDictionary::thread_klass())
 164  168        ->as_instance_klass();
 165  169    ciEnv::_OutOfMemoryError =
↓ open down ↓ 167 lines elided ↑ open up ↑
 333  337      return new (arena()) ciMethodData(h_md);
 334  338    } else if (o->is_instance()) {
 335  339      instanceHandle h_i(THREAD, (instanceOop)o);
 336  340      return new (arena()) ciInstance(h_i);
 337  341    } else if (o->is_objArray()) {
 338  342      objArrayHandle h_oa(THREAD, (objArrayOop)o);
 339  343      return new (arena()) ciObjArray(h_oa);
 340  344    } else if (o->is_typeArray()) {
 341  345      typeArrayHandle h_ta(THREAD, (typeArrayOop)o);
 342  346      return new (arena()) ciTypeArray(h_ta);
      347 +  } else if (o->is_constantPoolCache()) {
      348 +    constantPoolCacheHandle h_cpc(THREAD, (constantPoolCacheOop) o);
      349 +    return new (arena()) ciCPCache(h_cpc);
 343  350    }
 344  351  
 345  352    // The oop is of some type not supported by the compiler interface.
 346  353    ShouldNotReachHere();
 347  354    return NULL;
 348  355  }
 349  356  
 350  357  //------------------------------------------------------------------
 351  358  // ciObjectFactory::get_unloaded_method
 352  359  //
↓ open down ↓ 308 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX