Fri, 04 Dec 2009 07:44:35 -0500
6880903: G1: G1 reports incorrect Runtime.maxMemory()
Summary: G1 reports committed memory instead of reserved memory from the Runtime.maxMemory() method
Reviewed-by: ysr, jmasa
1 #!/bin/sh
3 STARTDIR=`dirname $0`
5 if [ "x$SA_JAVA" = "x" ]; then
6 SA_JAVA=java
7 fi
9 if [ -f $STARTDIR/sa.jar ] ; then
10 CP=$STARTDIR/sa.jar
11 else
12 CP=$STARTDIR/../build/classes
13 fi
15 # License file for development version of dbx
16 setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense
18 $SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*