--- old/src/share/vm/shark/sharkCompiler.cpp 2015-10-02 15:59:00.230706651 +0200 +++ new/src/share/vm/shark/sharkCompiler.cpp 2015-10-02 15:59:00.122706655 +0200 @@ -145,7 +145,8 @@ void SharkCompiler::compile_method(ciEnv* env, ciMethod* target, - int entry_bci) { + int entry_bci, + DirectiveSet* directive) { assert(is_initialized(), "should be"); ResourceMark rm; const char *name = methodname( @@ -216,8 +217,8 @@ &handler_table, &inc_table, this, - env->comp_level(), false, + directive(), false); }