Re: Contention in ApplicationContext.java in Tomcat 5.5

2007-03-13 Thread Remy Maucherat
Yoav Shapira wrote: Hola, On 3/13/07, Phillip Thurmond <[EMAIL PROTECTED]> wrote: This is a bug. It significantly hinders scalability under certain workloads, and it should be fixed. As you are aware, there are many solutions (Read/Write lock, partitioned hashmap, etc..) that do not involve a

Re: Contention in ApplicationContext.java in Tomcat 5.5

2007-03-13 Thread Yoav Shapira
Hola, On 3/13/07, Phillip Thurmond <[EMAIL PROTECTED]> wrote: This is a bug. It significantly hinders scalability under certain workloads, and it should be fixed. As you are aware, there are many solutions (Read/Write lock, partitioned hashmap, etc..) that do not involve an additional dependen

Re: Contention in ApplicationContext.java in Tomcat 5.5

2007-03-13 Thread Phillip Thurmond
Remy Maucherat wrote: Phillip Thurmond wrote: I'm running some performance tests on JBoss 4.0.5. I'm seeing some contention inside Tomcat on ApplicationContext.getAttribute(). With a load of 200 threads, I often see over 150 "waiting to lock" messages on the attributes object. It looks lik

Re: Contention in ApplicationContext.java in Tomcat 5.5

2007-03-12 Thread Remy Maucherat
Phillip Thurmond wrote: I'm running some performance tests on JBoss 4.0.5. I'm seeing some contention inside Tomcat on ApplicationContext.getAttribute(). With a load of 200 threads, I often see over 150 "waiting to lock" messages on the attributes object. It looks like this contention has al