Mercurial > hg > graal-jvmci-8
diff src/share/vm/prims/methodHandleWalk.cpp @ 3404:2d4b2b833d29
7033141: assert(has_cp_cache(i)) failed: oob
Summary: Unrewrite bytecodes for OOM error allocating the constant pool cache.
Reviewed-by: dcubed, acorn, never
author | coleenp |
---|---|
date | Fri, 27 May 2011 15:04:48 -0700 |
parents | a80577f854f9 |
children | 88559690c95a 96c891ebe56a |
line wrap: on
line diff
--- a/src/share/vm/prims/methodHandleWalk.cpp Wed May 25 16:04:09 2011 -0700 +++ b/src/share/vm/prims/methodHandleWalk.cpp Fri May 27 15:04:48 2011 -0700 @@ -1399,6 +1399,7 @@ objArrayHandle methods(THREAD, m_array); methods->obj_at_put(0, m()); Rewriter::rewrite(_target_klass(), cpool, methods, CHECK_(empty)); // Use fake class. + Rewriter::relocate_and_link(_target_klass(), methods, CHECK_(empty)); // Use fake class. // Set the invocation counter's count to the invoke count of the // original call site.