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

Typo in the JVM HotSpot Options(-XX:-DisableExplicitGC)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: docs
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description



      Name: rmT116609 Date: 11/19/2003


      A DESCRIPTION OF THE PROBLEM :
      -XX:-DisableExplicitGC should be -XX:+DisableExplicitGC. The HotSpot virtual machine does not recognize this error, which means that it'll keep performing major GC collections on invocations of System.gc() when it should ignore those method calls.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      -XX:+DisableExplicitGC Disable calls to System.gc(), JVM still performs garbage collection when necessary
      ACTUAL -
      -XX:-DisableExplicitGC Disable calls to System.gc(), JVM still performs garbage collection when necessary

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/docs/hotspot/VMOptions.html
      (Incident Review ID: 214588)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              santhoshla Santhosh La (Inactive)
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: