comparison agent/make/saenv64.sh @ 1040:873ec3787992

6892186: SA does not dump debug info for scalar replaced objects Summary: Implement scalar replaced objects debug info dump in SA. Reviewed-by: twisti
author kvn
date Wed, 21 Oct 2009 09:15:33 -0700
parents 89e0543e1737
children c18cbe5936b8
comparison
equal deleted inserted replaced
1039:987e948ebbc8 1040:873ec3787992
41 echo "unknown CPU, only sparcv9, amd64 are supported!" 41 echo "unknown CPU, only sparcv9, amd64 are supported!"
42 exit 1 42 exit 1
43 fi 43 fi
44 fi 44 fi
45 45
46 LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so 46 # configure audit helper library if SA_ALTROOT is set
47 export LD_AUDIT_64 47 if [ -n "$SA_ALTROOT" ]; then
48 LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so
49 export LD_AUDIT_64
50 if [ ! -f $LD_AUDIT_64 ]; then
51 echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
52 echo "Make sure to build it with 'make natives'."
53 exit 1
54 fi
55 fi
48 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU 56 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU
49 57
50 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger" 58 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
51 59
52 if [ "x$SA_JAVA" = "x" ]; then 60 if [ "x$SA_JAVA" = "x" ]; then