--- old/src/share/vm/runtime/rframe.cpp 2015-10-08 07:24:30.000000000 -1000 +++ new/src/share/vm/runtime/rframe.cpp 2015-10-08 07:24:29.000000000 -1000 @@ -155,7 +155,7 @@ void RFrame::print(const char* kind) { #ifndef PRODUCT -#ifdef COMPILER2 +#if defined(COMPILER2) || INCLUDE_JVMCI int cnt = top_method()->interpreter_invocation_count(); #else int cnt = top_method()->invocation_count();