RFR JDK-8011200 (was 7143928) : (coll) Optimize for Empty ArrayList and HashMap (original) (raw)
mark.reinhold at oracle.com mark.reinhold at oracle.com
Tue Apr 2 17:16:40 UTC 2013
- Previous message: RFR JDK-8011200 (was 7143928) : (coll) Optimize for Empty ArrayList and HashMap
- Next message: RFR JDK-8011200 (was 7143928) : (coll) Optimize for Empty ArrayList and HashMap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: RFR JDK-8011200 (was 7143928) : (coll) Optimize for Empty ArrayList and HashMap
- Next message: RFR JDK-8011200 (was 7143928) : (coll) Optimize for Empty ArrayList and HashMap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]