diff --git a/src/share/classes/sun/misc/VM.java b/src/share/classes/sun/misc/VM.java index 61b3b0fd97444168d69194ec6902ba0681d91993..9928b840ea92f50226b75bd3d0a9f7e3c0d0d8e9 100644 --- a/src/share/classes/sun/misc/VM.java +++ b/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;