src/share/vm/opto/bytecodeInfo.cpp

changeset 1161
be93aad57795
parent 1110
f6da6f0174ac
child 1279
bd02caa94611
child 1335
9987d9d5eb0e
equal deleted inserted replaced
1160:928912ce8438 1161:be93aad57795
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();

mercurial