--- old/src/share/vm/opto/c2compiler.hpp 2015-07-13 18:44:15.379641036 +0200 +++ new/src/share/vm/opto/c2compiler.hpp 2015-07-13 18:44:15.143641030 +0200 @@ -36,7 +36,6 @@ // Name const char *name() { return "C2"; } - void initialize(); // Compilation entry point for methods @@ -52,6 +51,12 @@ // Print compilation timers and statistics void print_timers(); + // Check the availability of an intrinsic for 'method' given a compilation context. + bool is_intrinsic_available_for(methodHandle method, methodHandle compilation_context); + // Check the availability of an intrinsic for a 'method' but ignore + // the compilation context. + bool is_intrinsic_available_for(methodHandle method); + // Initial size of the code buffer (may be increased at runtime) static int initial_code_buffer_size(); };