RFR: 8260581: IGV: enhance node search [v2]
    Roberto Castañeda Lozano 
    rcastanedalo at openjdk.java.net
       
    Mon Feb  1 08:38:56 UTC 2021
    
    
  
On Fri, 29 Jan 2021 15:11:40 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
>> Roberto Castañeda Lozano has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove debug print
>
> src/utils/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/NodeQuickSearch.java line 140:
> 
>> 138:                                  (InputNode a, InputNode b) ->
>> 139:                                  Integer.valueOf(rankMatch(rawValue, a.getProperties().get(name)))
>> 140:                                  .compareTo(rankMatch(rawValue, b.getProperties().get(name))));
> 
> You can use `Integer.compare()` which directly takes two `ints` instead of `compareTo()`.
Thanks, done!
-------------
PR: https://git.openjdk.java.net/jdk/pull/2285
    
    
More information about the hotspot-compiler-dev
mailing list