comparison src/share/vm/runtime/sharedRuntime.cpp @ 4979:18a5539bf19b

More diff vs hsx24 optimizations.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 21:43:51 +0100
parents 33df1aeaebbf
children 0ebca2e35ca5
comparison
equal deleted inserted replaced
4978:99d3d8a72252 4979:18a5539bf19b
808 address SharedRuntime::continuation_for_implicit_exception(JavaThread* thread, 808 address SharedRuntime::continuation_for_implicit_exception(JavaThread* thread,
809 address pc, 809 address pc,
810 SharedRuntime::ImplicitExceptionKind exception_kind) 810 SharedRuntime::ImplicitExceptionKind exception_kind)
811 { 811 {
812 address target_pc = NULL; 812 address target_pc = NULL;
813
814 if (TraceSignals) {
815 tty->print_cr("Searching for continuation for implicit exception at %d!", pc);
816 }
817 813
818 if (Interpreter::contains(pc)) { 814 if (Interpreter::contains(pc)) {
819 #ifdef CC_INTERP 815 #ifdef CC_INTERP
820 // C++ interpreter doesn't throw implicit exceptions 816 // C++ interpreter doesn't throw implicit exceptions
821 ShouldNotReachHere(); 817 ShouldNotReachHere();
2821 VMRegPair *SharedRuntime::find_callee_arguments(Symbol* sig, bool has_receiver, int* arg_size) { 2817 VMRegPair *SharedRuntime::find_callee_arguments(Symbol* sig, bool has_receiver, int* arg_size) {
2822 // This method is returning a data structure allocating as a 2818 // This method is returning a data structure allocating as a
2823 // ResourceObject, so do not put any ResourceMarks in here. 2819 // ResourceObject, so do not put any ResourceMarks in here.
2824 char *s = sig->as_C_string(); 2820 char *s = sig->as_C_string();
2825 int len = (int)strlen(s); 2821 int len = (int)strlen(s);
2826 s++; len--; // Skip opening paren 2822 *s++; len--; // Skip opening paren
2827 char *t = s+len; 2823 char *t = s+len;
2828 while( *(--t) != ')' ) ; // Find close paren 2824 while( *(--t) != ')' ) ; // Find close paren
2829 2825
2830 BasicType *sig_bt = NEW_RESOURCE_ARRAY( BasicType, 256 ); 2826 BasicType *sig_bt = NEW_RESOURCE_ARRAY( BasicType, 256 );
2831 VMRegPair *regs = NEW_RESOURCE_ARRAY( VMRegPair, 256 ); 2827 VMRegPair *regs = NEW_RESOURCE_ARRAY( VMRegPair, 256 );