mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7107042: assert(no_dead_loop) failed: dead loop detected
Use dead nodes elimination code in PhaseIdealLoop before executing EA. Reviewed-by: never, twisti
This commit is contained in:
parent
dc1f4fe50e
commit
09b7902e14
9 changed files with 57 additions and 23 deletions
|
@ -322,11 +322,12 @@ void NodeHash::remove_useless_nodes(VectorSet &useful) {
|
|||
void NodeHash::dump() {
|
||||
_total_inserts += _inserts;
|
||||
_total_insert_probes += _insert_probes;
|
||||
if( PrintCompilation && PrintOptoStatistics && Verbose && (_inserts > 0) ) { // PrintOptoGVN
|
||||
if( PrintCompilation2 ) {
|
||||
for( uint i=0; i<_max; i++ )
|
||||
if( _table[i] )
|
||||
tty->print("%d/%d/%d ",i,_table[i]->hash()&(_max-1),_table[i]->_idx);
|
||||
if (PrintCompilation && PrintOptoStatistics && Verbose && (_inserts > 0)) {
|
||||
if (WizardMode) {
|
||||
for (uint i=0; i<_max; i++) {
|
||||
if (_table[i])
|
||||
tty->print("%d/%d/%d ",i,_table[i]->hash()&(_max-1),_table[i]->_idx);
|
||||
}
|
||||
}
|
||||
tty->print("\nGVN Hash stats: %d grows to %d max_size\n", _grows, _max);
|
||||
tty->print(" %d/%d (%8.1f%% full)\n", _inserts, _max, (double)_inserts/_max*100.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue