comparison src/share/vm/runtime/deoptimization.cpp @ 8151:b8f261ba79c6

Minimize diff to plain HotSpot version.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 07 Mar 2013 21:00:29 +0100
parents 5fc51c1ecdeb
children 6b6cbd8b8914
comparison
equal deleted inserted replaced
8150:b66f831ac5ab 8151:b8f261ba79c6
1323 tty->print_cr("Exception to be rethrown in the interpreter for method %s::%s at bci %d", trap_method->method_holder()->name()->as_C_string(), trap_method->name()->as_C_string(), trap_bci); 1323 tty->print_cr("Exception to be rethrown in the interpreter for method %s::%s at bci %d", trap_method->method_holder()->name()->as_C_string(), trap_method->name()->as_C_string(), trap_bci);
1324 } 1324 }
1325 GrowableArray<ScopeValue*>* expressions = trap_scope->expressions(); 1325 GrowableArray<ScopeValue*>* expressions = trap_scope->expressions();
1326 guarantee(expressions != NULL, "must have exception to throw"); 1326 guarantee(expressions != NULL, "must have exception to throw");
1327 ScopeValue* topOfStack = expressions->top(); 1327 ScopeValue* topOfStack = expressions->top();
1328 Handle topOfStackObj = cvf->create_stack_value(topOfStack)->get_obj(); 1328 Handle topOfStackObj = StackValue::create_stack_value(&fr, &reg_map, topOfStack)->get_obj();
1329 THREAD->set_pending_exception(topOfStackObj(), NULL, 0); 1329 THREAD->set_pending_exception(topOfStackObj(), NULL, 0);
1330 } 1330 }
1331 1331
1332 // Record this event in the histogram. 1332 // Record this event in the histogram.
1333 gather_statistics(reason, action, trap_bc); 1333 gather_statistics(reason, action, trap_bc);