< prev index next >

src/share/vm/c1/c1_Runtime1.cpp

Print this page




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

 323   FUNCTION_CASE(entry, StubRoutines::dpow());
 324   FUNCTION_CASE(entry, StubRoutines::dsin());
 325   FUNCTION_CASE(entry, StubRoutines::dcos());

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




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


< prev index next >