diff src/share/vm/graal/graalCompiler.cpp @ 4296:d089b71a5237

Add possibility to disable inlining for specific methods. Clear the HotSpotMethodResolvedImpl constructor, for it's never called.
author Andreas Woess <andreas.woess@jku.at>
date Wed, 18 Jan 2012 16:21:54 +0100
parents bcbb918f5ac6
children dc6f6e2f1a00
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp	Wed Jan 18 15:04:03 2012 -0800
+++ b/src/share/vm/graal/graalCompiler.cpp	Wed Jan 18 16:21:54 2012 +0100
@@ -270,6 +270,7 @@
   HotSpotMethodResolved::set_accessFlags(obj, method->access_flags().as_int());
   HotSpotMethodResolved::set_maxLocals(obj, method->max_locals());
   HotSpotMethodResolved::set_maxStackSize(obj, method->max_stack());
+  HotSpotMethodResolved::set_canBeInlined(obj, true);
   
   method->set_graal_mirror(obj());
   return obj();