--- old/src/share/vm/code/nmethod.cpp Wed Jun 22 10:38:55 2011 +++ new/src/share/vm/code/nmethod.cpp Wed Jun 22 10:38:55 2011 @@ -1832,7 +1832,8 @@ if (!method()->is_native()) { SimpleScopeDesc ssd(this, fr.pc()); Bytecode_invoke call(ssd.method(), ssd.bci()); - bool has_receiver = call.has_receiver(); + // invokedynamic has a receiver in the signature at this point + bool has_receiver = !call.is_invokestatic(); Symbol* signature = call.signature(); fr.oops_compiled_arguments_do(signature, has_receiver, reg_map, f); }