Request for review: 6312706: Map entrySet iterators should return different entries on each call to next()

Jason Mehrens jason_mehrens at hotmail.com
Tue Mar 29 20:57:44 UTC 2011


Is it necessary for 'NULL' in EnumMap to have hashCode of zero?  If so, would using new Integer(0) be better than creating a subclass with regards to footprint and classloading?
A similar issue was brought up before: http://mail.openjdk.java.net/pipermail/core-libs-dev/2011-March/006154.html
 
Jason
 
 
> The updated changeset passes all the jtreg regression tests. I have updated the webrev:
> 
> http://cr.openjdk.java.net/~mduigou/6312706/1/webrev/
> 
> I don't have any remaining concerns with this patch. My residual anxiety regarding possible performance slowdown is fading. :-)
> 
> If there are no objections I will commit this changeset on Wednesday March 30th, 2011.
> 
> Mike
 		 	   		  


More information about the core-libs-dev mailing list