Skip to content

Conversation

adpopescu
Copy link
Contributor

This change fixes some inconsistencies with the GC IDs.

@adpopescu
Copy link
Contributor Author

@dmitripivkine @amicic I've added a variable in cycle state to store the ID during cycle start.

stats->clearPauseStats();

MM_GCExtensionsBase* extensions = env->getExtensions();
env->_cycleState->_currentCycleID = extensions->getUniqueGCCycleCount();
Copy link
Contributor

Choose a reason for hiding this comment

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

there is _extensions exists already, there is no need to create new one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've changed all references to _extensions instead of a new one. The problem with the count for parallel gc persists, unfortunately.

This change fixes some inconsistencies with the GC IDs.

Signed-off-by: Adrian Popescu <[email protected]>
Add JFR logging structures and apis for GC events

This change adds all the necessary structures and apis to add some new GC JFR events.

Signed-off-by: Adrian Popescu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants