From: Holger Z. <hz...@us...> - 2004-09-25 15:18:29
|
Update of /cvsroot/jake2/jake2/src/jake2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13065/src/jake2 Modified Files: Jake2.java Log Message: download mirror selection Index: Jake2.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/Jake2.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Jake2.java 22 Sep 2004 19:22:14 -0000 1.5 --- Jake2.java 25 Sep 2004 15:17:44 -0000 1.6 *************** *** 28,33 **** import jake2.client.SCR; import jake2.qcommon.*; - import jake2.qcommon.Cvar; - import jake2.qcommon.Qcommon; import jake2.sys.Sys; --- 28,31 ---- *************** *** 37,53 **** public final class Jake2 { - static class MemMonitor implements Runnable { - public void run() { - while (true) { - Com.Printf("Memory:" - + (Runtime.getRuntime().totalMemory() - Runtime - .getRuntime().freeMemory()) + "\n"); - try { - Thread.sleep(1000); - } catch (Exception e) { - } - } - } - } public static Q2DataDialog Q2Dialog = new Q2DataDialog(); --- 35,38 ---- *************** *** 63,69 **** Q2Dialog.setVisible(true); - // uncomment to have a memory debugger (RST). - //new Thread(new MemMonitor()).start(); - // in C the first arg is the filename int argc = (args == null) ? 1 : args.length + 1; --- 48,51 ---- |