diff src/share/vm/runtime/sharedRuntime.cpp @ 2494:e88293edf07c

Fixed an issue with alignment of double/long values in the code buffer. Can now run Scimark again. Results for Scimark on i5 (client/graal/server) are (625/634/1120). Bootstrap of C1X is at 3.7s.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 22 Apr 2011 21:13:09 +0200
parents 0654ee04b214
children 98fa88528319
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp	Fri Apr 22 19:41:55 2011 +0200
+++ b/src/share/vm/runtime/sharedRuntime.cpp	Fri Apr 22 21:13:09 2011 +0200
@@ -698,6 +698,10 @@
 {
   address target_pc = NULL;
 
+  if (TraceSignals) {
+    tty->print_cr("Searching for continuation for implicit exception at %d", pc);
+  }
+
   if (Interpreter::contains(pc)) {
 #ifdef CC_INTERP
     // C++ interpreter doesn't throw implicit exceptions
@@ -796,7 +800,9 @@
         _implicit_div0_throws++;
 #endif
         if (UseC1X) {
-          tty->print_cr("c1x implicit div0");
+          if (TraceSignals) {
+            tty->print_cr("c1x implicit div0");
+          }
           target_pc = Runtime1::entry_for(Runtime1::c1x_throw_div0_exception_id);
         } else {
           target_pc = nm->continuation_for_implicit_exception(pc);