From a5c9da18fbf880ff182e65f347bc526d52da0495 Mon Sep 17 00:00:00 2001 From: Krystal Mok Date: Tue, 10 Jan 2012 12:48:08 +0000 Subject: [PATCH] 7128584: Typo in sun.misc.VM's private directMemory field comment Reviewed-by: forax, chegar --- jdk/src/share/classes/sun/misc/VM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/share/classes/sun/misc/VM.java b/jdk/src/share/classes/sun/misc/VM.java index 61b3b0fd974..9928b840ea9 100644 --- a/jdk/src/share/classes/sun/misc/VM.java +++ b/jdk/src/share/classes/sun/misc/VM.java @@ -168,7 +168,7 @@ public class VM { // // The initial value of this field is arbitrary; during JRE initialization // it will be reset to the value specified on the command line, if any, - // otherwise to Runtime.getRuntime.maxDirectMemory(). + // otherwise to Runtime.getRuntime().maxMemory(). // private static long directMemory = 64 * 1024 * 1024;