Skip to content

Conversation

@vanshslathia
Copy link

closes #295

Copy link
Owner

@AloisSeckar AloisSeckar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @vanshslathia and thank you for your contribution. I have couple of remarks to be addressed before I can merge this PR. Please, have a look.

java15DemoPool.add(new DatagramSocketDemo15());
// JEP 375
java15DemoPool.add(new InstanceofPatternMatchingSecondPreview());
// JEP 379: Shenandoah: A Low-Pause-Time Garbage Collector (Production)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only place the JEP number here, as for the other demos

import java.util.ArrayList;
import java.util.List;

/**
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here use the Markdown syntax comments, not old JavaDoc, as in all other demo implementations.

Check for the IDemo.java interface, there are instructions how it should look like.

public void demo() {
info(379);

System.out.println("Shenandoah GC is primarily configured with JVM flags, not code.");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, do not use println statements for explanation. Only use it, if it shows something directly related to the executed code. Turn extra information like this (rows 45-50) to classic comments inside the source code.

@AloisSeckar AloisSeckar added the changes requested The PR was checked and feedback provided. Changes must be done in order to get it accepted. label Oct 26, 2025
@AloisSeckar
Copy link
Owner

Since #313 was merged into main, which changes the way of loading the demo files, merge conflicts inevitably appeared in this PR and will have to be resolved. Please, sync your checkouts with current state of main. Or stash your changes, drop this PR and open a new one from a fresh code. I will help guiding you, if needed.

@AloisSeckar
Copy link
Owner

AloisSeckar commented Oct 30, 2025

@vanshslathia will you be able to address the feedback and solve the merge conflicts? I tried to do it, but GitHub web editor cannot handle it, must be done locally in your checkout. Or you can create a new fork and re-create changes related to JEP 379.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes requested The PR was checked and feedback provided. Changes must be done in order to get it accepted.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JEP 379 – Shenandoah: A Low-Pause-Time Garbage Collector

2 participants