Mercurial > hg > graal-compiler
comparison src/share/vm/opto/graphKit.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 | de6a9e811145 |
children | bb9356ec5967 |
comparison
equal
deleted
inserted
replaced
14476:4510a3502166 | 14477:96d2c94bbdd0 |
---|---|
861 can_prune_locals = true; | 861 can_prune_locals = true; |
862 stack_slots_not_pruned = inputs; | 862 stack_slots_not_pruned = inputs; |
863 } | 863 } |
864 } | 864 } |
865 | 865 |
866 if (env()->jvmti_can_access_local_variables()) { | 866 if (env()->should_retain_local_variables()) { |
867 // At any safepoint, this method can get breakpointed, which would | 867 // At any safepoint, this method can get breakpointed, which would |
868 // then require an immediate deoptimization. | 868 // then require an immediate deoptimization. |
869 can_prune_locals = false; // do not prune locals | 869 can_prune_locals = false; // do not prune locals |
870 stack_slots_not_pruned = 0; | 870 stack_slots_not_pruned = 0; |
871 } | 871 } |