|
Message
From: cvs at opencores.org<cvs@o...>
Date: Wed Jan 30 14:08:09 CET 2008
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/08/01 30:14:08 Modified: jop/java/target/src/jdk11/java/lang Runtime.java Log: memory queries forward to GC Revision Changes Path 1.2 jop/java/target/src/jdk11/java/lang/Runtime.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/jdk11/java/lang/Runtime.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: Runtime.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/jdk11/java/lang/Runtime.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- Runtime.java 26 Oct 2006 00:48:42 -0000 1.1 +++ Runtime.java 30 Jan 2008 13:08:09 -0000 1.2 @@ -110,8 +110,7 @@ */ public long freeMemory() { - // TODO: not implemented - return 0; + return com.jopdesign.sys.GC.freeMemory(); } /** @@ -122,8 +121,7 @@ */ public long totalMemory() { - //TODO: not implemented - return 0; + return com.jopdesign.sys.GC.totalMemory(); } /**
|
 |