[freenet-cvs] r11677 - trunk/freenet/src/freenet/clients/http
zothar at freenetproject.org
zothar at freenetproject.org
Sun Feb 4 17:05:25 UTC 2007
Author: zothar
Date: 2007-02-04 17:05:24 +0000 (Sun, 04 Feb 2007)
New Revision: 11677
Modified:
trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
Log:
Re-order threads above CPUs in JVM info on /stats/, resolving https://bugs.freenetproject.org/view.php?id=1074
Modified: trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java 2007-02-04 17:05:08 UTC (rev 11676)
+++ trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java 2007-02-04 17:05:24 UTC (rev 11677)
@@ -461,8 +461,8 @@
jvmStatsList.addChild("li", "Used Java memory:\u00a0" + SizeUtil.formatSize(usedJavaMem, true));
jvmStatsList.addChild("li", "Allocated Java memory:\u00a0" + SizeUtil.formatSize(allocatedJavaMem, true));
jvmStatsList.addChild("li", "Maximum Java memory:\u00a0" + SizeUtil.formatSize(maxJavaMem, true));
+ jvmStatsList.addChild("li", "Running threads:\u00a0" + thousendPoint.format(threadCount));
jvmStatsList.addChild("li", "Available CPUs:\u00a0" + availableCpus);
- jvmStatsList.addChild("li", "Running threads:\u00a0" + thousendPoint.format(threadCount));
jvmStatsList.addChild("li", "JVM Vendor:\u00a0" + System.getProperty("java.vm.vendor"));
jvmStatsList.addChild("li", "JVM Version:\u00a0" + System.getProperty("java.vm.version"));
jvmStatsList.addChild("li", "OS Name:\u00a0" + System.getProperty("os.name"));
More information about the cvs
mailing list