diff src/share/vm/shark/sharkCompiler.hpp @ 7643:3ac7d10a6572

Merge with hsx25/hotspot.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 31 Jan 2013 15:42:25 +0100
parents 606eada1bf86
children 469216acdb28
line wrap: on
line diff
--- a/src/share/vm/shark/sharkCompiler.hpp	Thu Jan 31 11:32:14 2013 +0100
+++ b/src/share/vm/shark/sharkCompiler.hpp	Thu Jan 31 15:42:25 2013 +0100
@@ -46,6 +46,9 @@
   // Missing feature tests
   bool supports_native() { return true; }
   bool supports_osr()    { return true; }
+  bool can_compile_method(methodHandle method)  {
+    return ! (method->is_method_handle_intrinsic() || method->is_compiled_lambda_form());
+  }
 
   // Customization
   bool needs_adapters()  { return false; }