--- a/hotspot/src/share/vm/ci/ciMethod.cpp Thu Apr 28 13:26:29 2016 +0000
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp Fri Apr 29 02:13:40 2016 +0300
@@ -202,6 +202,7 @@
_code = (address)arena->Amalloc(code_size());
memcpy(_code, me->code_base(), code_size());
+#if INCLUDE_JVMTI
// Revert any breakpoint bytecodes in ci's copy
if (me->number_of_breakpoints() > 0) {
BreakpointInfo* bp = me->method_holder()->breakpoints();
@@ -211,6 +212,7 @@
}
}
}
+#endif
// And load the exception table.
ExceptionTable exc_table(me);