< prev index next >

src/share/vm/c1/c1_Runtime1.cpp

Print this page




 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




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


< prev index next >