hotspot/src/share/vm/c1/c1_Compiler.hpp
changeset 31962 d05e0a4d1b43
parent 26796 666464578742
child 32085 d869c505b624
--- a/hotspot/src/share/vm/c1/c1_Compiler.hpp	Tue Jul 21 13:36:28 2015 +0000
+++ b/hotspot/src/share/vm/c1/c1_Compiler.hpp	Tue Jul 28 19:20:42 2015 +0200
@@ -55,6 +55,18 @@
   // Print compilation timers and statistics
   virtual void print_timers();
 
+  // Check the availability of an intrinsic for 'method' given a compilation context.
+  // The compilation context is needed to support per-method usage of the
+  // DisableIntrinsic flag. However, as C1 ignores the DisableIntrinsic flag, it
+  // ignores the compilation context.
+  virtual bool is_intrinsic_available(methodHandle method, methodHandle compilation_context);
+
+  // Check if the C1 compiler supports an intrinsic for 'method'.
+  virtual bool is_intrinsic_supported(methodHandle method);
+
+  // Processing of command-line flags specific to the C1 compiler.
+  virtual bool is_intrinsic_disabled_by_flag(methodHandle method);
+
   // Size of the code buffer
   static int code_buffer_size();
 };