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

heap tuning documentation typo; 1/3 and 2/3 reversed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 7, 7u25
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • OS:
      windows_8

      Description

      A DESCRIPTION OF THE PROBLEM :
      By default, the Application Server is invoked with the Java HotSpot Server JVM. The default NewRatio for the Server JVM is 2: the ***old*** generation occupies 2/3 of the heap while the ***new*** generation occupies 1/3.

      This line is wrong I think. old and new have been flipped.
      As you can see from the previous line in the documentation, there is a contradiction between the two lines.

      For example, setting -XX:NewRatio=3 means that the ratio between the old and young generation is 1:3, the combined size of eden and the survivor spaces will be fourth of the heap.



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      By default, the Application Server is invoked with the Java HotSpot Server JVM. The default NewRatio for the Server JVM is 2: the new generation occupies 2/3 of the heap while the old generation occupies 1/3.
      ACTUAL -
      By default, the Application Server is invoked with the Java HotSpot Server JVM. The default NewRatio for the Server JVM is 2: the ***old*** generation occupies 2/3 of the heap while the ***new*** generation occupies 1/3.

      URL OF FAULTY DOCUMENTATION :
      http://docs.oracle.com/cd/E19528-01/819-4742/abeik/index.html

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: