src/share/vm/interpreter/interpreterRuntime.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/interpreter/interpreterRuntime.cpp Fri Nov 4 16:24:21 2016
--- new/src/share/vm/interpreter/interpreterRuntime.cpp Fri Nov 4 16:24:21 2016
*** 962,971 ****
--- 962,974 ----
CHECK);
}
}
} // end JvmtiHideSingleStepping
+ assert(!(bytecode == Bytecodes::_invokedirect && info.call_kind() != CallInfo::direct_call),
+ "the target of a invokedirect bytecode must be a direct call");
+
// check if link resolution caused cpCache to be updated
ConstantPoolCacheEntry* cp_cache_entry = cache_entry(thread);
if (cp_cache_entry->is_resolved(bytecode)) return;
#ifdef ASSERT
src/share/vm/interpreter/interpreterRuntime.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File