On 01/22/2016 02:34 PM, Claes Redestad wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8148044
> Webrev: http://cr.openjdk.java.net/~redestad/8148044/webrev.01/

-1, sorry.

I would actually suggest keeping the ZERO_ARRAY in Enum*, because enums
often have small cardinality, and there dodging an allocation matters.
I'd also make sure we have all ZERO_ARRAY declarations like that as
"static final".

-Aleksey


Reply via email to