7022473: JDK7 still runs /etc/prtconf to find memory size
authorohair
Wed Jan 04 11:22:55 2012 -0800 (16 months ago)
changeset 5408f6523cdd46e
parent 539fdd2f36bd77d
child 54141a7f002492d
7022473: JDK7 still runs /etc/prtconf to find memory size
Reviewed-by: katleman
make/common/shared/Platform.gmk
--- a/make/common/shared/Platform.gmk Fri Jun 19 18:03:27 2009 +0800
+++ b/make/common/shared/Platform.gmk Wed Jan 04 11:22:55 2012 -0800
@@ -171,7 +171,7 @@ ifeq ($(SYSTEM_UNAME), SunOS)
REQUIRED_OS_VERSION = 5.8
endif
# 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