RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size

Christian Thalinger christian.thalinger at oracle.com
Wed Jan 8 12:46:00 PST 2014


On Jan 8, 2014, at 2:26 AM, MacGregor, Duncan (GE Energy Management) <duncan.macgregor at ge.com> wrote:

> I’ve just checked Magik on Java’s implementation and we only use one ClassValue (to connect our method table objects with their corresponding classes) so a reduction in the initial map size would definitely be a good for us.

Thanks!

> 
> From: Christian Thalinger <christian.thalinger at oracle.com<mailto:christian.thalinger at oracle.com>>
> Reply-To: Da Vinci Machine Project <mlvm-dev at openjdk.java.net<mailto:mlvm-dev at openjdk.java.net>>
> Date: Tuesday, 7 January 2014 22:54
> To: Da Vinci Machine Project <mlvm-dev at openjdk.java.net<mailto:mlvm-dev at openjdk.java.net>>
> Subject: RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size
> 
> 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?
> _______________________________________________
> 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