Author: thomas.diesler(a)jboss.com
Date: 2009-09-17 14:04:37 -0400 (Thu, 17 Sep 2009)
New Revision: 93655
Modified:
projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java
projects/jboss-osgi/trunk/testsuite/pom.xml
Log:
[JBOSGI-155] VirtualFile instance leak
WIP
Modified:
projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java
===================================================================
---
projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java 2009-09-17
17:58:52 UTC (rev 93654)
+++
projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/blueprint/BlueprintStressTestCase.java 2009-09-17
18:04:37 UTC (rev 93655)
@@ -74,9 +74,9 @@
bundle.uninstall();
runtime.removeCapability(blueprintCapability);
-
+
long currTime = System.currentTimeMillis();
- System.out.println("#" + (i + 1) + " " + (currTime -
lastTime) + "ms " + VirtualFile.getCount());
+ //System.out.println("#" + (i + 1) + " " + (currTime -
lastTime) + "ms " + VirtualFile.getCount());
Thread.sleep(3000);
lastTime = currTime;
Modified:
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java
===================================================================
---
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java 2009-09-17
17:58:52 UTC (rev 93654)
+++
projects/jboss-osgi/trunk/testsuite/functional/src/test/java/org/jboss/test/osgi/jbosgi99/OSGI99TestCase.java 2009-09-17
18:04:37 UTC (rev 93655)
@@ -65,7 +65,7 @@
bundleA.uninstall();
long currTime = System.currentTimeMillis();
- System.out.println("#" + (i + 1) + " " + (currTime -
lastTime) + "ms " + VirtualFile.getCount());
+ //System.out.println("#" + (i + 1) + " " + (currTime -
lastTime) + "ms " + VirtualFile.getCount());
//Thread.sleep(10000);
lastTime = currTime;
Modified: projects/jboss-osgi/trunk/testsuite/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/testsuite/pom.xml 2009-09-17 17:58:52 UTC (rev 93654)
+++ projects/jboss-osgi/trunk/testsuite/pom.xml 2009-09-17 18:04:37 UTC (rev 93655)
@@ -267,7 +267,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>-agentlib:yjpagent</argLine>
+ <!-- argLine>-agentlib:yjpagent</argLine -->
</configuration>
</plugin>
</plugins>
Show replies by date