< prev index next >

src/share/vm/c1/c1_Runtime1.cpp

Print this page




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




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


< prev index next >