comparison 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
comparison
equal deleted inserted replaced
6635:83b6305a5638 6636:0acd345fd810
334 uint8 _irreducible:1, // True if irreducible 334 uint8 _irreducible:1, // True if irreducible
335 _has_call:1, // True if has call safepoint 335 _has_call:1, // True if has call safepoint
336 _has_sfpt:1, // True if has non-call safepoint 336 _has_sfpt:1, // True if has non-call safepoint
337 _rce_candidate:1; // True if candidate for range check elimination 337 _rce_candidate:1; // True if candidate for range check elimination
338 338
339 Node_List* _safepts; // List of safepoints in this loop
339 Node_List* _required_safept; // A inner loop cannot delete these safepts; 340 Node_List* _required_safept; // A inner loop cannot delete these safepts;
340 bool _allow_optimizations; // Allow loop optimizations 341 bool _allow_optimizations; // Allow loop optimizations
341 342
342 IdealLoopTree( PhaseIdealLoop* phase, Node *head, Node *tail ) 343 IdealLoopTree( PhaseIdealLoop* phase, Node *head, Node *tail )
343 : _parent(0), _next(0), _child(0), 344 : _parent(0), _next(0), _child(0),
344 _head(head), _tail(tail), 345 _head(head), _tail(tail),
345 _phase(phase), 346 _phase(phase),
347 _safepts(NULL),
346 _required_safept(NULL), 348 _required_safept(NULL),
347 _allow_optimizations(true), 349 _allow_optimizations(true),
348 _nest(0), _irreducible(0), _has_call(0), _has_sfpt(0), _rce_candidate(0) 350 _nest(0), _irreducible(0), _has_call(0), _has_sfpt(0), _rce_candidate(0)
349 { } 351 { }
350 352