diff src/share/vm/graal/graalEnv.cpp @ 5251:467de393651a

optimization: frame prologue & epilogue ommitted for methods with no spills, no callee-saved registers, no incoming stack args and no debug info
author Doug Simon <doug.simon@oracle.com>
date Wed, 18 Apr 2012 23:39:07 +0200
parents 2f2c6347fce4
children 957c266d8bc5
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.cpp	Wed Apr 18 23:19:58 2012 +0200
+++ b/src/share/vm/graal/graalEnv.cpp	Wed Apr 18 23:39:07 2012 +0200
@@ -477,9 +477,6 @@
       return NULL;
     }
 
-    assert(offsets->value(CodeOffsets::Deopt) != -1, "must have deopt entry");
-    assert(offsets->value(CodeOffsets::Exceptions) != -1, "must have exception entry");
-
     nm =  nmethod::new_nmethod(method,
                                compile_id,
                                entry_bci,
@@ -531,13 +528,13 @@
               old->make_not_entrant();
             }
           }
-          if (TraceNMethodInstalls ) {
+          if (TraceNMethodInstalls) {
             ResourceMark rm;
             char *method_name = method->name_and_sig_as_C_string();
             ttyLocker ttyl;
-            tty->print_cr("Installing method (%d) %s ",
+            tty->print_cr("Installing method (%d) %s [entry point: %p]",
                           comp_level,
-                          method_name);
+                          method_name, nm->entry_point());
           }
           // Allow the code to be executed
           method->set_code(method, nm);