< prev index next >

src/share/vm/c1/c1_Runtime1.cpp

Print this page




 303   FUNCTION_CASE(entry, SharedRuntime::f2i);
 304   FUNCTION_CASE(entry, SharedRuntime::f2l);
 305   FUNCTION_CASE(entry, SharedRuntime::frem);
 306   FUNCTION_CASE(entry, SharedRuntime::l2d);
 307   FUNCTION_CASE(entry, SharedRuntime::l2f);
 308   FUNCTION_CASE(entry, SharedRuntime::ldiv);
 309   FUNCTION_CASE(entry, SharedRuntime::lmul);
 310   FUNCTION_CASE(entry, SharedRuntime::lrem);
 311   FUNCTION_CASE(entry, SharedRuntime::lrem);
 312   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_entry);
 313   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_exit);
 314   FUNCTION_CASE(entry, is_instance_of);
 315   FUNCTION_CASE(entry, trace_block_entry);
 316 #ifdef TRACE_HAVE_INTRINSICS
 317   FUNCTION_CASE(entry, TRACE_TIME_METHOD);
 318 #endif
 319   FUNCTION_CASE(entry, StubRoutines::updateBytesCRC32());
 320   FUNCTION_CASE(entry, StubRoutines::dexp());
 321   FUNCTION_CASE(entry, StubRoutines::dlog());
 322   FUNCTION_CASE(entry, StubRoutines::dpow());


 323 
 324 #undef FUNCTION_CASE
 325 
 326   // Soft float adds more runtime names.
 327   return pd_name_for_address(entry);
 328 }
 329 
 330 
 331 JRT_ENTRY(void, Runtime1::new_instance(JavaThread* thread, Klass* klass))
 332   NOT_PRODUCT(_new_instance_slowcase_cnt++;)
 333 
 334   assert(klass->is_klass(), "not a class");
 335   instanceKlassHandle h(thread, klass);
 336   h->check_valid_for_instantiation(true, CHECK);
 337   // make sure klass is initialized
 338   h->initialize(CHECK);
 339   // allocate instance and return via TLS
 340   oop obj = h->allocate_instance(CHECK);
 341   thread->set_vm_result(obj);
 342 JRT_END




 303   FUNCTION_CASE(entry, SharedRuntime::f2i);
 304   FUNCTION_CASE(entry, SharedRuntime::f2l);
 305   FUNCTION_CASE(entry, SharedRuntime::frem);
 306   FUNCTION_CASE(entry, SharedRuntime::l2d);
 307   FUNCTION_CASE(entry, SharedRuntime::l2f);
 308   FUNCTION_CASE(entry, SharedRuntime::ldiv);
 309   FUNCTION_CASE(entry, SharedRuntime::lmul);
 310   FUNCTION_CASE(entry, SharedRuntime::lrem);
 311   FUNCTION_CASE(entry, SharedRuntime::lrem);
 312   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_entry);
 313   FUNCTION_CASE(entry, SharedRuntime::dtrace_method_exit);
 314   FUNCTION_CASE(entry, is_instance_of);
 315   FUNCTION_CASE(entry, trace_block_entry);
 316 #ifdef TRACE_HAVE_INTRINSICS
 317   FUNCTION_CASE(entry, TRACE_TIME_METHOD);
 318 #endif
 319   FUNCTION_CASE(entry, StubRoutines::updateBytesCRC32());
 320   FUNCTION_CASE(entry, StubRoutines::dexp());
 321   FUNCTION_CASE(entry, StubRoutines::dlog());
 322   FUNCTION_CASE(entry, StubRoutines::dpow());
 323   FUNCTION_CASE(entry, StubRoutines::dsin());
 324   FUNCTION_CASE(entry, StubRoutines::dcos());
 325 
 326 #undef FUNCTION_CASE
 327 
 328   // Soft float adds more runtime names.
 329   return pd_name_for_address(entry);
 330 }
 331 
 332 
 333 JRT_ENTRY(void, Runtime1::new_instance(JavaThread* thread, Klass* klass))
 334   NOT_PRODUCT(_new_instance_slowcase_cnt++;)
 335 
 336   assert(klass->is_klass(), "not a class");
 337   instanceKlassHandle h(thread, klass);
 338   h->check_valid_for_instantiation(true, CHECK);
 339   // make sure klass is initialized
 340   h->initialize(CHECK);
 341   // allocate instance and return via TLS
 342   oop obj = h->allocate_instance(CHECK);
 343   thread->set_vm_result(obj);
 344 JRT_END


< prev index next >