Class GenerationalShenandoahNotes

java.lang.Object
net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes

public class GenerationalShenandoahNotes extends Object
Explains Generational Shenandoah, introduced as a product feature in Java 25 by JEP 521.

This module keeps the performance discussion explanatory, but includes a deterministic child-JVM probe for the product-feature status. A faithful performance evaluation still requires a realistic workload, JVM options, garbage-collection logs, and measurements.

  • Constructor Details

    • GenerationalShenandoahNotes

      public GenerationalShenandoahNotes()
  • Method Details

    • garbageCollectionProblem

      public String garbageCollectionProblem()
      Returns:
      a short garbage-collection problem statement
    • shenandoahGoal

      public String shenandoahGoal()
      Returns:
      a short explanation of Shenandoah's goal
    • generationalIdea

      public String generationalIdea()
      Returns:
      a short explanation of the generational idea
    • java25Status

      public String java25Status()
      Returns:
      a short explanation of the Java 25 status change
    • option

      public String option()
      Returns:
      a short command-line note
    • projectDecision

      public String projectDecision()
      Returns:
      the project decision about performance claims
    • shenandoahAvailable

      public boolean shenandoahAvailable() throws IOException, InterruptedException
      Checks whether this JDK build can start with Shenandoah selected.
      Returns:
      true when Shenandoah is available
      Throws:
      IOException
      InterruptedException
    • generationalModeProbe

      Probes Java 25's product-feature behavior: generational mode is selected without unlocking experimental VM options.
      Returns:
      the child JVM result
      Throws:
      IOException
      InterruptedException