RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size
Jochen Theodorou
blackdrag at gmx.org
Wed Jan 8 06:43:03 PST 2014
Am 07.01.2014 23:54, schrieb Christian Thalinger:
> Can I get some comments on this bug from people who are using ClassValue?
>
> [#JDK-8031043] ClassValue's backing map should have a smaller initial
> size - Java Bug System <https://bugs.openjdk.java.net/browse/JDK-8031043>
>
> Is my assumption correct that most language runtimes only attach a small
> number of values (maybe only one) or that it wouldn’t matter if the map
> would grow as needed?
I expect about 3-5 values for Groovy 3 as the standard case. 32 might be
really too much, 8 would be probably still enough for most use cases
bye Jochen
--
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org
More information about the mlvm-dev
mailing list