Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4873347

Removal of debugger backend strict=y option

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-svc
    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      generic
    • OS:
      generic

      Description

      In the conversion of the debugger backend in 1.5 to JVMTI, the option strict=y allowed
      for the end user to tell the debugger backend to follow strict JVMDI
      rules. This was not the default and was relatively untested.
      With the conversion to JVMTI, this option also was of questionable usefulness,
      since we plan on obeying strict JVMTI rules, and the JVMTI has a
      "capability" interface built into it will be used in many of these cases.

      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

        Attachments

          Activity

            People

            • Assignee:
              ohair Kelly Ohair (Inactive)
              Reporter:
              ohair Kelly Ohair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: