tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1390484 - /tomcat/trunk/test/org/apache/tomcat/util/collections/TesterPerformanceSynchronizedStack.java
Date Wed, 26 Sep 2012 13:42:54 GMT
Author: markt
Date: Wed Sep 26 13:42:54 2012
New Revision: 1390484

URL: http://svn.apache.org/viewvc?rev=1390484&view=rev
Log:
Additional name changes

Modified:
    tomcat/trunk/test/org/apache/tomcat/util/collections/TesterPerformanceSynchronizedStack.java

Modified: tomcat/trunk/test/org/apache/tomcat/util/collections/TesterPerformanceSynchronizedStack.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/collections/TesterPerformanceSynchronizedStack.java?rev=1390484&r1=1390483&r2=1390484&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/util/collections/TesterPerformanceSynchronizedStack.java
(original)
+++ tomcat/trunk/test/org/apache/tomcat/util/collections/TesterPerformanceSynchronizedStack.java
Wed Sep 26 13:42:54 2012
@@ -32,7 +32,7 @@ public class TesterPerformanceSynchroniz
     private static final Queue<Object> QUEUE = new ConcurrentLinkedQueue<>();
 
     @Test
-    public void testConcurrentStack() throws InterruptedException {
+    public void testSynchronizedStack() throws InterruptedException {
         Thread[] threads = new Thread[THREAD_COUNT];
         for (int i = 0; i < THREAD_COUNT; i++) {
             threads[i] = new StackThread();
@@ -50,7 +50,7 @@ public class TesterPerformanceSynchroniz
 
         long end = System.currentTimeMillis();
 
-        System.out.println("ConcurrentStack: " + (end - start) + "ms");
+        System.out.println("SynchronizedStack: " + (end - start) + "ms");
     }
 
     public static class StackThread extends Thread {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message