-
Enhancement
-
Resolution: Fixed
-
P2
-
5.0
-
tiger
-
generic
-
generic
In the conversion of the debugger backend in 1.5 to JVMTI, the option stdalloc=y allowed
for the end user to tell the debugger backend to allocate memory from the system
malloc/free. This was not the default, was relatively untested, and was
not generally recommended due to it's tendency to create heap deadlocks.
With the JVMTI conversion, all memory allocation was changed to go through
the JVMTI interface, keeping the backend memory management code as simple as possible.
The option will continue to be parsed and accepted, but will be documented
as "Obsolete". This option was documented in two places:
http://java.sun.com/j2se/1.4.1/docs/guide/jpda/conninv.html
And via:
java -Xrunjdwp:help
-Xrunjdwp usage: -Xrunjdwp:[help]|[<option>=<value>, ...]
Option Name and Value Description Default
--------------------- ----------- -------
suspend=y|n wait on startup? y
transport=<name> transport spec none
address=<listen/attach address> transport spec ""
server=y|n listen for debugger? n
launch=<command line> run debugger on event none
onthrow=<exception name> debug on throw none
onuncaught=y|n debug on any uncaught? n
strict=y|n skip JVMDI bug workarounds? n
stdalloc=y|n Use C Runtime malloc/free? n <--------------------
Example: java -Xrunjdwp:transport=dt_socket,address=localhost:8000
---------
The conninv.html page will need to be updated, and the help message
will be changed to this in 1.5:
USAGE: java -agentlib:jdwp=[help]|[<option>=<value>, ...]
Option Name and Value Description Default
--------------------- ----------- -------
suspend=y|n wait on startup? y
transport=<name> transport spec none
address=<listen/attach address> transport spec ""
server=y|n listen for debugger? n
launch=<command line> run debugger on event none
onthrow=<exception name> debug on throw none
onuncaught=y|n debug on any uncaught? n
timeout=<timeout value> for listen/attach in milliseconds n
strict=y|n Obsolete n
stdalloc=y|n Obsolete n <------------------
Example:
java -agentlib:jdwp=transport=dt_socket,address=localhost:8000
NOTE: The older -Xrunjdwp interface still can be used,
but will be removed in a future release, e.g.:
java -Xdebug -Xrunjdwp:[help]|[<option>=<value>, ...]
-kto
###@###.### 2003-06-03
for the end user to tell the debugger backend to allocate memory from the system
malloc/free. This was not the default, was relatively untested, and was
not generally recommended due to it's tendency to create heap deadlocks.
With the JVMTI conversion, all memory allocation was changed to go through
the JVMTI interface, keeping the backend memory management code as simple as possible.
The option will continue to be parsed and accepted, but will be documented
as "Obsolete". This option was documented in two places:
http://java.sun.com/j2se/1.4.1/docs/guide/jpda/conninv.html
And via:
java -Xrunjdwp:help
-Xrunjdwp usage: -Xrunjdwp:[help]|[<option>=<value>, ...]
Option Name and Value Description Default
--------------------- ----------- -------
suspend=y|n wait on startup? y
transport=<name> transport spec none
address=<listen/attach address> transport spec ""
server=y|n listen for debugger? n
launch=<command line> run debugger on event none
onthrow=<exception name> debug on throw none
onuncaught=y|n debug on any uncaught? n
strict=y|n skip JVMDI bug workarounds? n
stdalloc=y|n Use C Runtime malloc/free? n <--------------------
Example: java -Xrunjdwp:transport=dt_socket,address=localhost:8000
---------
The conninv.html page will need to be updated, and the help message
will be changed to this in 1.5:
USAGE: java -agentlib:jdwp=[help]|[<option>=<value>, ...]
Option Name and Value Description Default
--------------------- ----------- -------
suspend=y|n wait on startup? y
transport=<name> transport spec none
address=<listen/attach address> transport spec ""
server=y|n listen for debugger? n
launch=<command line> run debugger on event none
onthrow=<exception name> debug on throw none
onuncaught=y|n debug on any uncaught? n
timeout=<timeout value> for listen/attach in milliseconds n
strict=y|n Obsolete n
stdalloc=y|n Obsolete n <------------------
Example:
java -agentlib:jdwp=transport=dt_socket,address=localhost:8000
NOTE: The older -Xrunjdwp interface still can be used,
but will be removed in a future release, e.g.:
java -Xdebug -Xrunjdwp:[help]|[<option>=<value>, ...]
-kto
###@###.### 2003-06-03