hotspot/agent/make/start-debug-server
author pliden
Wed, 13 May 2015 15:16:06 +0200
changeset 30764 fec48bf5a827
parent 1 489c9b5090e2
permissions -rw-r--r--
8079792: GC directory structure cleanup Reviewed-by: brutisso, stefank, david
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#!/bin/sh
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
STARTDIR=`dirname $0`
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
if [ "x$SA_JAVA" = "x" ]; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
   SA_JAVA=java
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
if [ -f $STARTDIR/sa.jar ] ; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
  CP=$STARTDIR/sa.jar
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
  CP=$STARTDIR/../build/classes
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
# License file for development version of dbx
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
$SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*