--- old/src/share/vm/c1/c1_LIRGenerator.cpp 2014-11-28 01:07:25.201863854 +0300 +++ new/src/share/vm/c1/c1_LIRGenerator.cpp 2014-11-28 01:07:24.909863858 +0300 @@ -1209,6 +1209,11 @@ set_no_result(x); } +void LIRGenerator::do_getCompiler(Intrinsic* x) { + LIR_Opr value = load_constant(new Constant(new IntConstant(1))); + set_result(x, value); +} + // Examble: ref.get() // Combination of LoadField and g1 pre-write barrier void LIRGenerator::do_Reference_get(Intrinsic* x) { @@ -3171,6 +3176,10 @@ if (os::is_MP()) __ membar(); break; + case vmIntrinsics::_getCompiler: + do_getCompiler(x); + break; + case vmIntrinsics::_Reference_get: do_Reference_get(x); break;