319 if( !UseInterpreter || CompileTheWorld /* running Xcomp or CTW */ ) { |
319 if( !UseInterpreter || CompileTheWorld /* running Xcomp or CTW */ ) { |
320 // Checks that constant pool's call site has been visited |
320 // Checks that constant pool's call site has been visited |
321 // stricter than callee_holder->is_initialized() |
321 // stricter than callee_holder->is_initialized() |
322 ciBytecodeStream iter(caller_method); |
322 ciBytecodeStream iter(caller_method); |
323 iter.force_bci(caller_bci); |
323 iter.force_bci(caller_bci); |
324 int index = iter.get_index_big(); |
324 int index = iter.get_index_int(); |
325 if( !caller_method->is_klass_loaded(index, true) ) { |
325 if( !caller_method->is_klass_loaded(index, true) ) { |
326 return false; |
326 return false; |
327 } |
327 } |
328 // Try to do constant pool resolution if running Xcomp |
328 // Try to do constant pool resolution if running Xcomp |
329 Bytecodes::Code call_bc = iter.cur_bc(); |
329 Bytecodes::Code call_bc = iter.cur_bc(); |