comparison src/share/vm/c1/c1_Runtime1.cpp @ 3899:c124e2e7463e

7083786: dead various dead chunks of code Reviewed-by: iveresov, kvn
author never
date Wed, 31 Aug 2011 16:46:11 -0700
parents 2c359f27615c
children cec1757a0134
comparison
equal deleted inserted replaced
3898:a64d352d1118 3899:c124e2e7463e
372 ResourceMark rm(thread); 372 ResourceMark rm(thread);
373 const char* klass_name = Klass::cast(obj->klass())->external_name(); 373 const char* klass_name = Klass::cast(obj->klass())->external_name();
374 SharedRuntime::throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_ArrayStoreException(), klass_name); 374 SharedRuntime::throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_ArrayStoreException(), klass_name);
375 JRT_END 375 JRT_END
376 376
377
378 JRT_ENTRY(void, Runtime1::post_jvmti_exception_throw(JavaThread* thread))
379 if (JvmtiExport::can_post_on_exceptions()) {
380 vframeStream vfst(thread, true);
381 address bcp = vfst.method()->bcp_from(vfst.bci());
382 JvmtiExport::post_exception_throw(thread, vfst.method(), bcp, thread->exception_oop());
383 }
384 JRT_END
385 377
386 // counter_overflow() is called from within C1-compiled methods. The enclosing method is the method 378 // counter_overflow() is called from within C1-compiled methods. The enclosing method is the method
387 // associated with the top activation record. The inlinee (that is possibly included in the enclosing 379 // associated with the top activation record. The inlinee (that is possibly included in the enclosing
388 // method) method oop is passed as an argument. In order to do that it is embedded in the code as 380 // method) method oop is passed as an argument. In order to do that it is embedded in the code as
389 // a constant. 381 // a constant.