7022473: JDK7 still runs /etc/prtconf to find memory size
authorkatleman
Wed, 16 Mar 2011 09:42:55 -0700
changeset 8592 c22d2d0a1ff6
parent 8591 3a4de9d734aa
child 8593 d7436373981b
7022473: JDK7 still runs /etc/prtconf to find memory size Reviewed-by: ohair
jdk/make/common/shared/Platform.gmk
--- a/jdk/make/common/shared/Platform.gmk	Wed Mar 16 09:30:29 2011 -0700
+++ b/jdk/make/common/shared/Platform.gmk	Wed Mar 16 09:42:55 2011 -0700
@@ -148,7 +148,7 @@
   # Suffix for file bundles used in previous release
   BUNDLE_FILE_SUFFIX=.tar
   # How much RAM does this machine have:
-  MB_OF_MEMORY=$(shell /etc/prtconf | fgrep 'Memory size:' | expand | cut -d' ' -f3)
+  MB_OF_MEMORY=$(shell /usr/sbin/prtconf | fgrep 'Memory size:' | expand | cut -d' ' -f3)
 endif
 
 # Platform settings specific to Linux