Hi,
that did not seem to help, the lock trace remains exactly the same.
Locks also occur on EntityManager.clear() btw:

        at java.util.concurrent.locks.LockSupport.park(Unknown Source)
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(Unknown
 Source)
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(Unknown 
Source)
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(Unknown Source)
        at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(Unknown 
Source)
        at java.util.concurrent.locks.ReentrantLock.lock(Unknown Source)
        at 
org.apache.openjpa.slice.ReentrantSliceLock.lock(ReentrantSliceLock.java:46)
        at 
org.apache.openjpa.slice.DistributedBrokerImpl.lock(DistributedBrokerImpl.java:141)
        at 
org.apache.openjpa.kernel.BrokerImpl.beginOperation(BrokerImpl.java:1927)
        at org.apache.openjpa.kernel.BrokerImpl.detachAll(BrokerImpl.java:3396)
        at 
org.apache.openjpa.kernel.DelegatingBroker.detachAll(DelegatingBroker.java:1206)
        at 
org.apache.openjpa.persistence.EntityManagerImpl.clear(EntityManagerImpl.java:1158)

I might try to create a small testcase to show the problem..

-----Ursprüngliche Nachricht-----
Von: Pinaki Poddar [mailto:ppod...@apache.org] 
Gesendet: Dienstag, 13. September 2011 06:49
An: users@openjpa.apache.org
Betreff: Re: OpenJPA (with slice) multithreaded scaling issues

Michael,
  The lock contention seems to be at a different place than at JDBC layer.
Can you please set
openjpa.jdbc.SQLQueryCache=false and see if th elock contention is reduced?


-----
Pinaki Poddar
Chair, Apache OpenJPA Project
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/OpenJPA-with-slice-multithreaded-scaling-issues-tp6784525p6786203.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
___________________________________________________

SMA Solar Technology AG
Aufsichtsrat: Guenther Cramer (Vorsitzender)
Vorstand: Juergen Dolle, Roland Grebe, Uwe Hertel, Pierre-Pascal Urbon, Marko 
Werner
Handelsregister: Amtsgericht Kassel HRB 3972
Sitz der Gesellschaft: 34266 Niestetal
USt-ID-Nr. DE 113 08 59 54
WEEE-Reg.-Nr. DE 95881150
___________________________________________________

Reply via email to