RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size
Christian Thalinger
christian.thalinger at oracle.com
Thu Jan 9 11:16:37 PST 2014
On Jan 9, 2014, at 2:46 AM, Jochen Theodorou <blackdrag at gmx.org> wrote:
> Am 08.01.2014 21:45, schrieb Christian Thalinger:
> [...]
>> If we’d go with an initial value of 1 would it be a performance problem for you if it grows automatically?
>
> that means the map will have to grow for hundreds of classes at startup.
> I don't know how much impact that will have
If it’s only hundreds it’s probably negligible. You could do a simple experiment if you are worried: change ClassValueMap.INITIAL_ENTRIES to 1, compile it and prepend it to the bootclasspath.
>
> 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
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list