comparison agent/make/saenv.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
46 SA_LIBPATH=$STARTDIR/../src/os/linux/i386:$STARTDIR/linux/i386 46 SA_LIBPATH=$STARTDIR/../src/os/linux/i386:$STARTDIR/linux/i386
47 OPTIONS="-Dsa.library.path=$SA_LIBPATH" 47 OPTIONS="-Dsa.library.path=$SA_LIBPATH"
48 CPU=i386 48 CPU=i386
49 fi 49 fi
50 else 50 else
51 LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so 51 # configure audit helper library if SA_ALTROOT is set
52 export LD_AUDIT_32 52 if [ -n "$SA_ALTROOT" ]; then
53 LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so
54 export LD_AUDIT_32
55 if [ ! -f $LD_AUDIT_32 ]; then
56 echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
57 echo "Make sure to build it with 'make natives'."
58 exit 1
59 fi
60 fi
53 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p` 61 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p`
54 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger" 62 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
55 CPU=sparc 63 CPU=sparc
56 fi 64 fi
57 65