Class ZgcGenerationalModeNotes

java.lang.Object
net.jrodolfo.java_evolution.java23.ZgcGenerationalModeNotes

public class ZgcGenerationalModeNotes extends Object
Explains ZGC generational mode becoming the default in Java 23.

Many objects die young. Generational garbage collection uses that observation to manage young and old objects differently. Java 23 made generational mode the default for ZGC to improve efficiency for many workloads.

  • Constructor Details

    • ZgcGenerationalModeNotes

      public ZgcGenerationalModeNotes()
  • Method Details

    • purpose

      public String purpose()
      Explains the runtime change.
      Returns:
      a short explanation
    • benefit

      public String benefit()
      Names the expected practical benefit.
      Returns:
      a short benefit