Mercurial > hg > truffle
annotate agent/src/scripts/start-rmiregistry.bat @ 7138:ae1f36911743
created shared, cached exceptions with empty stack traces for the implementation of the -G:+OmitHotExceptionStacktrace option. This also avoids the issue of having an object embedded in compiled code without an external strong reference to the same object (objects in compiled code are weak references in HotSpot)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Dec 2012 14:01:32 +0100 |
parents | c18cbe5936b8 |
children |
rev | line source |
---|---|
0 | 1 @echo off |
2 | |
3 REM | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
4 REM Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. |
0 | 5 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
6 REM | |
7 REM This code is free software; you can redistribute it and/or modify it | |
8 REM under the terms of the GNU General Public License version 2 only, as | |
9 REM published by the Free Software Foundation. | |
10 REM | |
11 REM This code is distributed in the hope that it will be useful, but WITHOUT | |
12 REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 REM FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 REM version 2 for more details (a copy is included in the LICENSE file that | |
15 REM accompanied this code). | |
16 REM | |
17 REM You should have received a copy of the GNU General Public License version | |
18 REM 2 along with this work; if not, write to the Free Software Foundation, | |
19 REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
20 REM | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
21 REM Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
22 REM or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
0
diff
changeset
|
23 REM questions. |
0 | 24 REM |
25 REM | |
26 | |
27 @echo off | |
28 | |
29 if "%1" == "-help" goto usage | |
30 | |
31 :JAVA_HOME | |
32 if not exist %JAVA_HOME%\bin\rmiregistry goto BADJAVAHOME | |
33 if not exist %JAVA_HOME%\lib\sa-jdi.jar goto BADJAVAHOME | |
34 | |
35 start %JAVA_HOME%\bin\rmiregistry -J-Xbootclasspath/p:%JAVA_HOME%\lib\sa-jdi.jar | |
36 goto end | |
37 | |
38 :BADJAVAHOME | |
39 echo JAVA_HOME does not point to a working J2SE 1.5 installation. | |
40 | |
41 :usage | |
42 @echo usage: start-rmiregistry | |
43 @echo Start the rmi registry with with sa-jdi.jar on the bootclasspath | |
44 @echo for use by the debug server. | |
45 @echo JAVA_HOME must contain the pathname of a J2SE 1.5 installation. | |
46 | |
47 :end | |
48 |