7196242: vm/mlvm/indy/stress/java/loopsAndThreads crashed

Reviewed-by: jrose, coleenp, jmasa, kvn
This commit is contained in:
Christian Thalinger 2012-09-10 16:37:22 -07:00
parent 6fda647450
commit 2ab9ff2658
3 changed files with 23 additions and 20 deletions

View file

@ -734,6 +734,7 @@ IRT_ENTRY(void, InterpreterRuntime::resolve_invokehandle(JavaThread* thread)) {
} // end JvmtiHideSingleStepping
cache_entry(thread)->set_method_handle(
pool,
info.resolved_method(),
info.resolved_appendix(),
pool->resolved_references());
@ -761,6 +762,7 @@ IRT_ENTRY(void, InterpreterRuntime::resolve_invokedynamic(JavaThread* thread)) {
ConstantPoolCacheEntry* cp_cache_entry = pool->invokedynamic_cp_cache_entry_at(index);
cp_cache_entry->set_dynamic_call(
pool,
info.resolved_method(),
info.resolved_appendix(),
pool->resolved_references());