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

G1: Remove the Hot Card Cache

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 21
    • 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:

      • G1ConcRSLogCacheSize
      • G1ConcRSHotCardLimit

      Problem

      The G1 Hot Card Cache is being removed because we observed no performance difference whether it is enabled or disabled in various benchmarks tested. So the corresponding flags to configure it are meaningless now.

      Solution

      Obsolete the following VM product options, without any deprecation period:

      • G1ConcRSLogCacheSize
      • G1ConcRSHotCardLimit

      Specification

      https://github.com/openjdk/jdk/pull/12452

      -  product(size_t, G1ConcRSLogCacheSize, 10,                                 \
      -          "Log base 2 of the length of conc RS hot-card cache.")            \
      -          range(0, 27)                                                      \
      -                                                                            \
      -  product(uintx, G1ConcRSHotCardLimit, 4,                                   \
      -          "The threshold that defines (>=) a hot card.")                    \
      -          range(0, max_jubyte)                                              \
      -                                                                            \

            ayang Albert Yang
            tschatzl Thomas Schatzl
            Ivan Walulya, Kim Barrett, Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: