-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unified Serial GC correction #408
base: main
Are you sure you want to change the base?
Conversation
…the timestamp is missing
Fixes DateTimeStamp
…ertain conditions
…gTrace.java Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
switch (forwardReference.getGarbageCollectionType()) { | ||
case PSFull: | ||
return fillOutFullGC(new PSFullGC(forwardReference.getStartTime(), forwardReference.getGCCause(), forwardReference.getDuration()), forwardReference); | ||
if ( forwardReference.getGCCause().equals(GCCause.JAVA_LANG_SYSTEM)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels like some of this is DRY / could be squashed down, on the other hand it's readable, so that wins!
|
||
private static final int[][] serialCounts = { | ||
// 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 | ||
{ 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A new developer coming into this will struggle, can we add a comment stating what this array effectively tests?
Bunch of fixes but the important one is the fix to produce System GC full events.