Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/interpreter/interpreter.cpp
          +++ new/src/share/vm/interpreter/interpreter.cpp
↓ open down ↓ 315 lines elided ↑ open up ↑
 316  316  
 317  317     case Bytecodes::_invokedynamic: {
 318  318        Thread *thread = Thread::current();
 319  319        ResourceMark rm(thread);
 320  320        methodHandle mh(thread, method);
 321  321        type = Bytecode_invoke_at(mh, bci)->result_type(thread);
 322  322        // since the cache entry might not be initialized:
 323  323        // (NOT needed for the old calling convension)
 324  324        if (!is_top_frame) {
 325  325          int index = Bytes::get_native_u4(bcp+1);
 326      -        method->constants()->cache()->entry_at(index)->set_parameter_size(callee_parameters);
      326 +        method->constants()->cache()->secondary_entry_at(index)->set_parameter_size(callee_parameters);
 327  327        }
 328  328        break;
 329  329      }
 330  330  
 331  331      case Bytecodes::_ldc   :
 332  332        type = constant_pool_type( method, *(bcp+1) );
 333  333        break;
 334  334  
 335  335      case Bytecodes::_ldc_w : // fall through
 336  336      case Bytecodes::_ldc2_w:
↓ open down ↓ 99 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX