hotspot/src/share/vm/ci/ciMethod.cpp
changeset 38144 0976c0c5c5d3
parent 38133 78b95467b9f1
parent 38059 86ab3f0a9f87
child 38177 b0c9cb06506b
--- 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);