7128584: Typo in sun.misc.VM's private directMemory field comment
authorchegar
Tue, 10 Jan 2012 12:48:08 +0000
changeset 11515 841d5f796b28
parent 11514 0cefabc1c81f
child 11516 0e4924734eed
7128584: Typo in sun.misc.VM's private directMemory field comment Reviewed-by: forax, chegar Contributed-by: Krystal Mok <sajia@taobao.com>
jdk/src/share/classes/sun/misc/VM.java
--- a/jdk/src/share/classes/sun/misc/VM.java	Tue Jan 10 10:57:12 2012 +0000
+++ b/jdk/src/share/classes/sun/misc/VM.java	Tue Jan 10 12:48:08 2012 +0000
@@ -168,7 +168,7 @@
     //
     // 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;