[infinispan-dev] Avoid Collections.emptySet() / emptyMap() / emptyList
Erik Salter
an1310 at hotmail.com
Sat Oct 20 09:16:30 EDT 2012
Hi Sanne,
With tight deliverable windows and escalating feature needs, I don't have the bandwidth to test and deploy a new container, much less a new JDK. On my roadmap, moving to Java 7 and AS7/EAP6 is slated for sometime in mid-2013.
I don't think I'm unique in this as well, so any performance enhancements for older environments (like this one -- whether JBMAR or ISPN handles it) are very welcomed.
Erik
-----Original Message-----
From: infinispan-dev-bounces at lists.jboss.org [mailto:infinispan-dev-bounces at lists.jboss.org] On Behalf Of Sanne Grinovero
Sent: Friday, October 19, 2012 6:45 PM
To: infinispan -Dev List
Subject: Re: [infinispan-dev] Avoid Collections.emptySet() / emptyMap() / emptyList
Hi Erik,
interesting, I'm sure several people will still use Java6 for a while but wasn't expecting you did, as you can both carefully test your environment and are aiming to top performance. There are several more performance goodies in Java7... could you share why you're on 6 ?
On 19 October 2012 21:23, Erik Salter <an1310 at hotmail.com> wrote:
>
>
> From: infinispan-dev-bounces at lists.jboss.org
> [mailto:infinispan-dev-bounces at lists.jboss.org] On Behalf Of Dan
> Berindei
> Sent: Friday, October 19, 2012 3:55 PM
> To: infinispan -Dev List
> Subject: Re: [infinispan-dev] Avoid Collections.emptySet() /
> emptyMap() / emptyList
>
>
>
>
>
> On Fri, Oct 19, 2012 at 7:50 PM, Tristan Tarrant <ttarrant at redhat.com>
> wrote:
>
> On 10/19/2012 06:28 PM, Dan Berindei wrote:
>> Galder, what JDK are you using? OpenJDK 1.7 uses
>> EmptyIterator.EMPTY_ITERATOR since 2007:
>>
>>
>> http://hg.openjdk.java.net/jdk7/jdk7/jdk/annotate/37a05a11f281/src/sh
>> are/classes/java/util/Collections.java
>>
>> I don't have JDK 1.6 sources on hand to check, but I don't think it's
>> worth optimizing for such an old version anyway.
>
> An old version which is probably in use in most production
> environments :)
>
>
> If they aren't ready to upgrade to JDK7, I doubt they're willing to
> upgrade to Infinispan 5.2 :)
>
> FYI, I’m using ISPN 5.2 on JDK6 (on a hacked up JBossESB container).
> Plus who knows what wacky configurations you’re supporting on the JDG side.
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
More information about the infinispan-dev
mailing list