United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6981484 Update development launcher
JDK-6981484 : Update development launcher

Details
Type:
Enhancement
Submit Date:
2010-09-01
Status:
Closed
Updated Date:
2011-04-23
Project Name:
JDK
Resolved Date:
2011-04-23
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs20 (b04)

Related Reports
Backport:
Backport:

Sub Tasks

Description
The current development launcher (gamma) has a few problems:
 1) it requires env.sh to be sourced
 2) it requires the current working directory to be the build directory
 3) it does not exist on windows platforms

                                    

Comments
SUGGESTED FIX

Create a new launcher called fusion(.exe). On linux/solaris it will be script that sets up the environment and then launches the old gamma launcher. On windows it will be an executable.

The new launcher will be insensitive to current directory and will only need the JAVA_HOME env variable to be set up. 

On solaris/linux it will also have parameters to launch the process in a debugger.
*** (#1 of 1): [ UNSAVED ] ###@###.###
                                     
2010-09-01
EVALUATION

Ok.
                                     
2010-09-01
SUGGESTED FIX

Some more description of how the launcher script on Linux and Solaris works:

If the first parameter is either "-gdb" or "-gud", HotSpot will be
launched inside gdb. "-gud" means "open an Emacs window and run gdb
inside Emacs".

Solaris: If the first parameter is "-dbx", HotSpot will be launched inside dbx.

If the first parameter is "-valgrind", HotSpot will be launched
inside Valgrind (http://valgrind.kde.org) using the Memcheck skin,
and with memory leak detection enabled.  This currently (2005jan19)
requires at least Valgrind 2.3.0.  -Xmx16m will also be passed as
the first parameter to HotSpot, since lowering HotSpot's memory
consumption makes execution inside of Valgrind *a lot* faster.
                                     
2010-09-22
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/cb2d0a362639
                                     
2010-12-03
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/cb2d0a362639
                                     
2010-12-09
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/cb2d0a362639
                                     
2010-12-10
EVALUATION

http://hg.openjdk.java.net/jdk7/build/hotspot/rev/cb2d0a362639
                                     
2010-12-25



Hardware and Software, Engineered to Work Together