RFR JDK-8022442: Fix unchecked warnings in HashMap

Remi Forax forax at univ-mlv.fr
Tue Aug 6 21:43:41 UTC 2013


On 08/06/2013 11:11 PM, Dan Smith wrote:
> Please review this warnings cleanup.
>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8022442 (not yet visible)
> Webrev: http://cr.openjdk.java.net/~dlsmith/8022442/webrev.00/
>
> —Dan

Hi Dan,
I've seen that you have introduce a common super interface for entry and 
tree node,
I suppose that  you check that there is no performance regression.
I wonder if an abstract class is not better than an interface because as 
far as I know
CHA implemented in hotspot doesn't work on interface
(but I may be wrong, there is perhaps a special optimization for arrays).

cheers,
Rémi




More information about the core-libs-dev mailing list