RFR JDK-8011200 (was 7143928) : (coll) Optimize for Empty ArrayList and HashMap
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Tue Apr 2 17:16:40 UTC 2013
2013/4/1 21:07 -0700, alan.bateman at oracle.com:
> ...
>
> I also agree with Martin on keeping the coding style consistent,
> particularly the missing space in "if(", and missing braces in places
> such as HashMap.writeObject.
On the topic of style, please also change
private static final Object EMPTY_ELEMENTDATA[] = new Object[0];
to
private static final Object[] EMPTY_ELEMENTDATA = new Object[0];
in HashMap.java.
- Mark
More information about the core-libs-dev
mailing list