Mercurial > hg > truffle
diff src/share/vm/c1/c1_ValueStack.cpp @ 14477:96d2c94bbdd0
8035493: JVMTI PopFrame capability must instruct compilers not to prune locals
Reviewed-by: kvn, sla, coleenp, sspitsyn
author | mgronlun |
---|---|
date | Sat, 22 Feb 2014 10:22:05 +0100 |
parents | b9a9ed0f8eeb |
children | 4ca6dc0799b6 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_ValueStack.cpp Thu Feb 20 16:38:45 2014 -0500 +++ b/src/share/vm/c1/c1_ValueStack.cpp Sat Feb 22 10:22:05 2014 +0100 @@ -52,7 +52,7 @@ , _stack() , _locks(copy_from->locks_size()) { - assert(kind != EmptyExceptionState || !Compilation::current()->env()->jvmti_can_access_local_variables(), "need locals"); + assert(kind != EmptyExceptionState || !Compilation::current()->env()->should_retain_local_variables(), "need locals"); if (kind != EmptyExceptionState) { // only allocate space if we need to copy the locals-array _locals = Values(copy_from->locals_size());