Re: Possible HashSet memory improvement

2013-10-05 Thread Brian Goetz
> Is there something I missed? Is this something that has been considered? If memory efficiency were the only metric in the world, this would be a no-brainer. But, by having different classes for different nodes, many many paths where the VM could prove monomorphism and thereby inline through n

Possible HashSet memory improvement

2013-10-05 Thread Philippe Marschall
Hi I attended Nathan Reynolds Java Memory Hogs [CON4695] talk where he talked about about memory waste in Java collections and attempts in 7u40 and later to improve the situation. One thing he mentioned was that there is a patch floating around that makes HashSet no longer use HashMap. This wo

hg: jdk8/tl/jdk: 9 new changesets

2013-10-05 Thread john . r . rose
Changeset: 44da760eed4b Author:jrose Date: 2013-10-05 05:30 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/44da760eed4b 8024761: JSR 292 improve performance of generic invocation Summary: use a per-MH one element cache for MH.asType to speed up MH.invoke; also cache enough M

Lambda proxy class doesn't carry generics information

2013-10-05 Thread Remi Forax
David Gageot [1] talk to me about this issue after my presentation at ParisJUG and I totally forgot to report it. He said that he is using a framework that uses the generic information inserted by javac (and available by reflection) so he can not retrofit its code that uses inner classes to use

Re: EnumSet and reification

2013-10-05 Thread Remi Forax
On 10/05/2013 04:30 AM, cowwoc wrote: Hi, Out of curiosity, is JDK 8's type reification improved enough so that we can replace > EnumSet EnumSet.noneOf(Class) with > EnumSet EnumSet.noneOf() and the JDK will figure out the value of E based on the expected return type? If so, c

hg: jdk8/tl/jaxws: 2 new changesets

2013-10-05 Thread chris . hegarty
Changeset: b0610cd08440 Author:mkos Date: 2013-10-04 16:21 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jaxws/rev/b0610cd08440 8025054: Update JAX-WS RI integration to 2.2.9-b130926.1035 Reviewed-by: chegar ! src/share/jaxws_classes/com/oracle/webservices/internal/api/databinding

hg: jdk8/tl/jdk: 8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash

2013-10-05 Thread chris . hegarty
Changeset: 7d2112abbb1d Author:coffeys Date: 2013-10-04 16:27 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7d2112abbb1d 8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash Reviewed-by: mkos, chegar + test/javax/xml/ws/clientjar