[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader/deadlock ...

Manik Surtani msurtani at jboss.com
Sun Nov 26 09:27:38 EST 2006


  User: msurtani
  Date: 06/11/26 09:27:38

  Modified:    tests/functional/org/jboss/cache/loader/deadlock  Tag:
                        Branch_JBossCache_1_3_0
                        ConcurrentCreationDeadlockTest.java
  Log:
  Removed contention on Fqn.ROOT
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +3 -2      JBossCache/tests/functional/org/jboss/cache/loader/deadlock/ConcurrentCreationDeadlockTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConcurrentCreationDeadlockTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/deadlock/ConcurrentCreationDeadlockTest.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -b -r1.2.2.1 -r1.2.2.2
  --- ConcurrentCreationDeadlockTest.java	26 Nov 2006 13:56:27 -0000	1.2.2.1
  +++ ConcurrentCreationDeadlockTest.java	26 Nov 2006 14:27:38 -0000	1.2.2.2
  @@ -304,6 +304,7 @@
        * @throws Exception Any exception if thrown by the cache.
        */
       private void performTest(int modificationsPerTx) throws Exception {
  +       m_cache.put(new Fqn("NODE"), null); // create the first node under the root so there is no contention for the root
           for (int i = 0; i < NUM_RUNS; i++) {
               if (mcl_exception != null) {
                   // terminate the test on the first failed worker
  @@ -364,8 +365,8 @@
        * @author Marian Nikolov
        * @author $Author: msurtani $
        * @version $RCSfile: ConcurrentCreationDeadlockTest.java,v $
  -     * @version $Revision: 1.2.2.1 $
  -     * @version $Date: 2006/11/26 13:56:27 $
  +     * @version $Revision: 1.2.2.2 $
  +     * @version $Date: 2006/11/26 14:27:38 $
        */
       private class Worker extends Thread {
           /** Used to fire all workers at the same time. */
  
  
  



More information about the jboss-cvs-commits mailing list