hotspot/src/share/vm/ci/ciMethod.cpp
changeset 38144 0976c0c5c5d3
parent 38133 78b95467b9f1
parent 38059 86ab3f0a9f87
child 38177 b0c9cb06506b
equal deleted inserted replaced
38143:3b732f17ea7d 38144:0976c0c5c5d3
   200 
   200 
   201   // Load the bytecodes.
   201   // Load the bytecodes.
   202   _code = (address)arena->Amalloc(code_size());
   202   _code = (address)arena->Amalloc(code_size());
   203   memcpy(_code, me->code_base(), code_size());
   203   memcpy(_code, me->code_base(), code_size());
   204 
   204 
       
   205 #if INCLUDE_JVMTI
   205   // Revert any breakpoint bytecodes in ci's copy
   206   // Revert any breakpoint bytecodes in ci's copy
   206   if (me->number_of_breakpoints() > 0) {
   207   if (me->number_of_breakpoints() > 0) {
   207     BreakpointInfo* bp = me->method_holder()->breakpoints();
   208     BreakpointInfo* bp = me->method_holder()->breakpoints();
   208     for (; bp != NULL; bp = bp->next()) {
   209     for (; bp != NULL; bp = bp->next()) {
   209       if (bp->match(me)) {
   210       if (bp->match(me)) {
   210         code_at_put(bp->bci(), bp->orig_bytecode());
   211         code_at_put(bp->bci(), bp->orig_bytecode());
   211       }
   212       }
   212     }
   213     }
   213   }
   214   }
       
   215 #endif
   214 
   216 
   215   // And load the exception table.
   217   // And load the exception table.
   216   ExceptionTable exc_table(me);
   218   ExceptionTable exc_table(me);
   217 
   219 
   218   // Allocate one extra spot in our list of exceptions.  This
   220   // Allocate one extra spot in our list of exceptions.  This