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

Parallel: Obsolete ParallelOldDeadWoodLimiterMean and ParallelOldDeadWoodLimiterStdDev

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 23
    • hotspot
    • gc
    • behavioral
    • minimal
    • Searching for affected flags doesn't return any blog posts/tutorials covering or suggesting using them.
    • add/remove/modify command line option
    • JDK

      Summary

      Obsolete the following VM product options due to removal of corresponding functionality:

      • ParallelOldDeadWoodLimiterMean
      • ParallelOldDeadWoodLimiterStdDev

      Problem

      In a Parallel GC full collection, MarkSweepDeadRatio is used together with a normal distribution constructed from ParallelOldDeadWoodLimiterMean and ParallelOldDeadWoodLimiterStdDev to calculate how much space the garbage collection is allowed to keep not compacted.

      This is a different approach compared to Serial GC and G1 GC. Using MarkSweepDeadRatio results in different amounts of allowed waste depending on the collector. This makes this aspect of Parallel GC full collection behavior hard to predict and understand in addition to an increase in code complexity without any substantial gain.

      Solution

      Remove the functionality and obsolete the following VM product options, without any deprecation period:

      • ParallelOldDeadWoodLimiterMean
      • ParallelOldDeadWoodLimiterStdDev

      Specification

      Removing the following flags:

        product(size_t, ParallelOldDeadWoodLimiterMean, 50,                       \
                "The mean used by the parallel compact dead wood "                \
                "limiter (a number between 0-100)")                               \
                range(0, 100)                                                     \
                                                                                  \
        product(size_t, ParallelOldDeadWoodLimiterStdDev, 80,                     \
                "The standard deviation used by the parallel compact dead wood "  \
                "limiter (a number between 0-100)")                               \
                range(0, 100)                                                     \

            ayang Albert Yang
            ayang Albert Yang
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: