< prev index next >

src/hotspot/share/c1/c1_Runtime1.cpp

Print this page
rev 50307 : [mq]: cont


 317   FUNCTION_CASE(entry, SharedRuntime::lmul);
 318   FUNCTION_CASE(entry, SharedRuntime::lrem);
 319   FUNCTION_CASE(entry, SharedRuntime::lrem);
 320   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_entry);
 321   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_exit);
 322   FUNCTION_CASE(entry, is_instance_of);
 323   FUNCTION_CASE(entry, trace_block_entry);
 324 #ifdef JFR_HAVE_INTRINSICS
 325   FUNCTION_CASE(entry, JFR_TIME_FUNCTION);
 326 #endif
 327   FUNCTION_CASE(entry, StubRoutines::updateBytesCRC32());
 328   FUNCTION_CASE(entry, StubRoutines::updateBytesCRC32C());
 329   FUNCTION_CASE(entry, StubRoutines::vectorizedMismatch());
 330   FUNCTION_CASE(entry, StubRoutines::dexp());
 331   FUNCTION_CASE(entry, StubRoutines::dlog());
 332   FUNCTION_CASE(entry, StubRoutines::dlog10());
 333   FUNCTION_CASE(entry, StubRoutines::dpow());
 334   FUNCTION_CASE(entry, StubRoutines::dsin());
 335   FUNCTION_CASE(entry, StubRoutines::dcos());
 336   FUNCTION_CASE(entry, StubRoutines::dtan());



 337 
 338 #undef FUNCTION_CASE
 339 
 340   // Soft float adds more runtime names.
 341   return pd_name_for_address(entry);
 342 }
 343 
 344 
 345 JRT_ENTRY(void, Runtime1::new_instance(JavaThread* thread, Klass* klass))
 346   NOT_PRODUCT(_new_instance_slowcase_cnt++;)
 347 
 348   assert(klass->is_klass(), "not a class");
 349   Handle holder(THREAD, klass->klass_holder()); // keep the klass alive
 350   InstanceKlass* h = InstanceKlass::cast(klass);
 351   h->check_valid_for_instantiation(true, CHECK);
 352   // make sure klass is initialized
 353   h->initialize(CHECK);
 354   // allocate instance and return via TLS
 355   oop obj = h->allocate_instance(CHECK);
 356   thread->set_vm_result(obj);




 317   FUNCTION_CASE(entry, SharedRuntime::lmul);
 318   FUNCTION_CASE(entry, SharedRuntime::lrem);
 319   FUNCTION_CASE(entry, SharedRuntime::lrem);
 320   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_entry);
 321   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_exit);
 322   FUNCTION_CASE(entry, is_instance_of);
 323   FUNCTION_CASE(entry, trace_block_entry);
 324 #ifdef JFR_HAVE_INTRINSICS
 325   FUNCTION_CASE(entry, JFR_TIME_FUNCTION);
 326 #endif
 327   FUNCTION_CASE(entry, StubRoutines::updateBytesCRC32());
 328   FUNCTION_CASE(entry, StubRoutines::updateBytesCRC32C());
 329   FUNCTION_CASE(entry, StubRoutines::vectorizedMismatch());
 330   FUNCTION_CASE(entry, StubRoutines::dexp());
 331   FUNCTION_CASE(entry, StubRoutines::dlog());
 332   FUNCTION_CASE(entry, StubRoutines::dlog10());
 333   FUNCTION_CASE(entry, StubRoutines::dpow());
 334   FUNCTION_CASE(entry, StubRoutines::dsin());
 335   FUNCTION_CASE(entry, StubRoutines::dcos());
 336   FUNCTION_CASE(entry, StubRoutines::dtan());
 337   FUNCTION_CASE(entry, StubRoutines::cont_getPC());
 338   FUNCTION_CASE(entry, StubRoutines::cont_thaw());
 339   FUNCTION_CASE(entry, StubRoutines::cont_doYield());
 340 
 341 #undef FUNCTION_CASE
 342 
 343   // Soft float adds more runtime names.
 344   return pd_name_for_address(entry);
 345 }
 346 
 347 
 348 JRT_ENTRY(void, Runtime1::new_instance(JavaThread* thread, Klass* klass))
 349   NOT_PRODUCT(_new_instance_slowcase_cnt++;)
 350 
 351   assert(klass->is_klass(), "not a class");
 352   Handle holder(THREAD, klass->klass_holder()); // keep the klass alive
 353   InstanceKlass* h = InstanceKlass::cast(klass);
 354   h->check_valid_for_instantiation(true, CHECK);
 355   // make sure klass is initialized
 356   h->initialize(CHECK);
 357   // allocate instance and return via TLS
 358   oop obj = h->allocate_instance(CHECK);
 359   thread->set_vm_result(obj);


< prev index next >