< prev index next >

src/share/vm/c1/c1_Runtime1.cpp

Print this page




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




 300   FUNCTION_CASE(entry, SharedRuntime::drem);
 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


< prev index next >