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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.2
    • docs
    • x86
    • linux



      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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: