changeset 4916:bba276a6aa0d

7128584: Typo in sun.misc.VM's private directMemory field comment Reviewed-by: forax, chegar Contributed-by: Krystal Mok <sajia@taobao.com>
author chegar
date Tue, 10 Jan 2012 12:48:08 +0000
parents d72de8b3fe36
children 49e64a8fc18f
files src/share/classes/sun/misc/VM.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/misc/VM.java	Tue Jan 10 10:57:12 2012 +0000
+++ b/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;