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

Document the changes regarding 6u18 VM NewRatio default value in more details

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6u18
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      x86
    • OS:
      linux_redhat_5.0, windows_vista

      Description

      The default value for the parameter -XX:NewRatio was changed in
      Java SE 6 Update 18.

      This was briefly documented in the release notes of Java SE 6 Update 18:

       http://www.oracle.com/technetwork/java/javase/6u18-142093.html
       -------------------------------------------------------------------
      Changes in 1.6.0_18 (6u18)
      [ ... ]
      Performance Improvements
      [ ... ]
       The maximum amount of space allocated to the young generation
        is one third of the total heap size.
      [ ... ]
       -------------------------------------------------------------------

       The suggestion is to especially document the implications of this change
       in more details:
       - the size of the NewGen heap is increased at the cost of the size of the
         OldGen heap
       - Applications relying on the default parameter values are likely to run
         OutOfMemory
       - The effect can be easily cured by either setting the NewRatio or the
         Xmn, or the NewSize/MaxNewSize parameters explicitly for the application.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              thlenz Thomas Lenz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: