Class GenerationalShenandoahNotes
java.lang.Object
net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordCaptures the child JVM exit code and merged output. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProbes Java 25's product-feature behavior: generational mode is selected without unlocking experimental VM options.option()booleanChecks whether this JDK build can start with Shenandoah selected.
-
Constructor Details
-
GenerationalShenandoahNotes
public GenerationalShenandoahNotes()
-
-
Method Details
-
garbageCollectionProblem
- Returns:
- a short garbage-collection problem statement
-
shenandoahGoal
- Returns:
- a short explanation of Shenandoah's goal
-
generationalIdea
- Returns:
- a short explanation of the generational idea
-
java25Status
- Returns:
- a short explanation of the Java 25 status change
-
option
- Returns:
- a short command-line note
-
projectDecision
- Returns:
- the project decision about performance claims
-
shenandoahAvailable
Checks whether this JDK build can start with Shenandoah selected.- Returns:
truewhen Shenandoah is available- Throws:
IOExceptionInterruptedException
-
generationalModeProbe
public GenerationalShenandoahNotes.ProcessResult generationalModeProbe() throws IOException, InterruptedExceptionProbes Java 25's product-feature behavior: generational mode is selected without unlocking experimental VM options.- Returns:
- the child JVM result
- Throws:
IOExceptionInterruptedException
-