diff src/share/vm/runtime/deoptimization.cpp @ 3019:77bb196828cb

Fixed an issue with accessing non-initialized static fields.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Sat, 18 Jun 2011 19:46:14 +0200
parents 5857923e563c
children 79165996a12d
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp	Sat Jun 18 19:13:55 2011 +0200
+++ b/src/share/vm/runtime/deoptimization.cpp	Sat Jun 18 19:46:14 2011 +0200
@@ -1240,11 +1240,12 @@
     Bytecodes::Code trap_bc     = trap_method->java_code_at(trap_bci);
 
     if (trap_scope->rethrow_exception()) {
-      tty->print_cr("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Exception to be rethrown in the interpreter");
+      if (TraceDeoptimization) {
+        tty->print_cr("Exception to be rethrown in the interpreter");
+      }
       GrowableArray<ScopeValue*>* expressions = trap_scope->expressions();
       ScopeValue* topOfStack = expressions->top();
       Handle topOfStackObj = cvf->create_stack_value(topOfStack)->get_obj();
-      topOfStackObj->print();
       THREAD->set_pending_exception(topOfStackObj(), NULL, 0);
     }