Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2004-08-30 19:56:23 +0400
committerjfrijters <jfrijters>2004-08-30 19:56:23 +0400
commitc42d54eff8ac81d4cc8caeeab3bbb195f08017e2 (patch)
tree14a0c2350934792dafa7917e1ec0a61ccc18b9a6 /classpath/java/lang/VMRuntime.java
parent75d9c616f9f2252d6bbe56039edb1b416004b372 (diff)
*** empty log message ***
Diffstat (limited to 'classpath/java/lang/VMRuntime.java')
-rw-r--r--classpath/java/lang/VMRuntime.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/classpath/java/lang/VMRuntime.java b/classpath/java/lang/VMRuntime.java
index 55258bfa..d671b568 100644
--- a/classpath/java/lang/VMRuntime.java
+++ b/classpath/java/lang/VMRuntime.java
@@ -93,7 +93,7 @@ final class VMRuntime
static long totalMemory()
{
// NOTE this really is a bogus number, but we have to return something
- return cli.System.GC.GetTotalMemory(false);
+ return cli.System.GC.GetTotalMemory(false) + freeMemory();
}
/**