Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8292654 G1 remembered set memory footprint regression after JDK-8286115
  3. JDK-8293707

Release Note: G1 Remembered set memory footprint regression after JDK-8286115

XMLWordPrintable

    • gc

      JDK-8286115 changed ergonomic sizing of a component of the remembered sets in G1. This change causes increased native memory usage of the Hotspot VM for applications that create large remembered sets with the G1 collector.

      In an internal benchmark total GC component native memory usage rose by almost 10% (from 1.2GB to 1.3GB).

      This issue can be worked around by passing double the value of `G1RemSetArrayOfCardsEntries` as printed by running the application with `-XX:+PrintFlagsFinal -XX:+UnlockExperimentalVMOptions` to your application.

      E.g. pass `-XX:+UnlockExperimentalVMOptions -XX:G1RemSetArrayOfCardsEntries=128` if a previous run showed a value of `64` for `G1RemSetArrayOfCardsEntries` in the output of `-XX:+PrintFlagsFinal`.

      This issue has been addressed in JDK 19.0.1 or later.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: