hotspot/agent/make/start-debug-server
author brutisso
Mon, 14 Jan 2013 09:58:52 +0100
changeset 15214 1795c6aeb583
parent 1 489c9b5090e2
permissions -rw-r--r--
8004018: Remove old initialization flags Reviewed-by: dholmes, stefank Contributed-by: erik.helin@oracle.com
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 $*