--- old/src/share/vm/shark/sharkCompiler.cpp 2015-10-07 12:14:53.289344538 +0200 +++ new/src/share/vm/shark/sharkCompiler.cpp 2015-10-07 12:14:53.181344533 +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); }