Mercurial > hg > graal-compiler
diff src/share/vm/opto/loopnode.hpp @ 6636:0acd345fd810
7160161: Missed safepoint in non-Counted loop
Summary: Do not remove safepoints during peeling optimization.
Reviewed-by: twisti
author | kvn |
---|---|
date | Wed, 29 Aug 2012 13:02:40 -0700 |
parents | c8d8e124380c |
children | b9a9ed0f8eeb |
line wrap: on
line diff
--- a/src/share/vm/opto/loopnode.hpp Wed Aug 29 14:49:05 2012 -0400 +++ b/src/share/vm/opto/loopnode.hpp Wed Aug 29 13:02:40 2012 -0700 @@ -336,6 +336,7 @@ _has_sfpt:1, // True if has non-call safepoint _rce_candidate:1; // True if candidate for range check elimination + Node_List* _safepts; // List of safepoints in this loop Node_List* _required_safept; // A inner loop cannot delete these safepts; bool _allow_optimizations; // Allow loop optimizations @@ -343,6 +344,7 @@ : _parent(0), _next(0), _child(0), _head(head), _tail(tail), _phase(phase), + _safepts(NULL), _required_safept(NULL), _allow_optimizations(true), _nest(0), _irreducible(0), _has_call(0), _has_sfpt(0), _rce_candidate(0)