[Swift-commit] r7964 - trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Jul 4 01:52:33 CDT 2014


Author: hategan
Date: 2014-07-04 01:52:32 -0500 (Fri, 04 Jul 2014)
New Revision: 7964

Modified:
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java
Log:
...

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java	2014-07-04 06:51:55 UTC (rev 7963)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/SummaryPane.java	2014-07-04 06:52:32 UTC (rev 7964)
@@ -97,7 +97,7 @@
             // mem
             Runtime r = Runtime.getRuntime();
             long heapMax = state.getMaxHeap();
-            long heapCrt = state.getCurrentHeap();
+            long heapCrt = state.getUsedHeap();
             double fraction = (double) heapCrt / heapMax;
             memory.setValue((float) fraction);
             memory.setText(state.getCurrentHeapFormatted() + " / " + state.getMaxHeapFormatted());




More information about the Swift-commit mailing list