7128584: Typo in sun.misc.VM's private directMemory field comment
Reviewed-by: forax, chegar
Contributed-by: Krystal Mok <sajia@taobao.com>
--- 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;