public void killLoadsOfField ( XField field ) { if ( ! REDUNDANT_LOAD_ELIMINATION ) { return ; } HashSet < AvailableLoad > killMe = new HashSet <> ( ) ; for ( AvailableLoad availableLoad : getAvailableLoadMap ( ) . keySet ( ) ) { if ( availableLoad . getField ( ) . equals ( field ) ) { if ( RLE_DEBUG ) { System . out . println ( "KILLING Load of " + availableLoad + " in " + this ) ; } killMe . add ( availableLoad ) ; } } killAvailableLoads ( killMe ) ; }
Kill all loads of given field .