-
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
Open
kcpeppe
wants to merge
36
commits into
microsoft:main
Choose a base branch
from
kcpeppe:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
416eb87
bug: intermediate commit to allow work on another bug
kcpeppe d7ab6fb
bug: add more robust handling of IllegalArgumentException in GCToolKi…
kcpeppe cfccf95
Merge branch 'filter'
kcpeppe 3725095
tidy: remove debug to stdout to logging framework
kcpeppe f7efb6e
refactor: Ensure DateTimeStamp cannot be malformed and it behaves if …
kcpeppe 15a86b9
Merge branch 'main' of github.com:microsoft/gctoolkit into 316
kcpeppe 9fa0e34
refactor: update pom for new GC log test data bundle
kcpeppe 1e9f897
tidy: address comments from PR
kcpeppe 59dc331
Update parser/src/main/java/com/microsoft/gctoolkit/parser/GCLogParse…
karianna bed6ae6
feature: first push to combine CMS parser with GenerationalHeapParser
kcpeppe 278b7ac
depreciate: depreciated the CMS preunified event source
kcpeppe 8012bd0
refactor: get all tests to pass
kcpeppe 86e2578
refactor: continue to get tests to pass
kcpeppe 82e8f4f
refactor: continue to get tests to pass
kcpeppe 115996b
refactor: collapse CMS phases parser into generational parser
kcpeppe d0dbcbd
refactor: fix merge conflicts
kcpeppe 9de145d
Merge branch '318'
kcpeppe 7e52270
Merge branch 'main' of github.com:kcpeppe/gctoolkit
kcpeppe e21cb1c
refactor: GenerationalHeapParser was duplicating CMF failures under c…
kcpeppe 40595f0
refactor: ensure GC log is closed when discovering the format
kcpeppe cd7f1a2
refactor: add test for reported bug
kcpeppe 7a8e8f7
refactor: add ability to parse very simple logs preunified logs
kcpeppe 82a775a
refactor: fix merge conflict that wasn't an actual merge conflict :-\
kcpeppe ac853e7
refactor: remove no longer needed print statement
kcpeppe 39afac3
refactor: tidy from review
kcpeppe 12a17da
refactor: support date stamps only for preunified logs
kcpeppe a2062c4
merge: complete a strange merge
kcpeppe 66e3466
refactor: bump version of gctoolkit testdata to support new tests
kcpeppe fcb4ebd
refactor: small code cleanups
kcpeppe a90ec25
Update parser/src/main/java/com/microsoft/gctoolkit/parser/AbstractLo…
kcpeppe 3e41273
tidy: cleanup from review and added more tests
kcpeppe 7e60928
tidy: resolved merge conflict
kcpeppe 3c015e6
Merge branch 'main' of github.com:microsoft/gctoolkit
kcpeppe 02000b2
Merge branch 'main' of github.com:microsoft/gctoolkit
kcpeppe 19e655a
refactor: adjust unified generational GC log parser to produce System…
kcpeppe 0493c30
refactor: update source data to include new serial GC log file
kcpeppe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,4 +65,32 @@ public void testCMSLogsMissingTimeStamps() { | |
// 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 | ||
{ 0, 0, 6167, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2}, | ||
}; | ||
|
||
//Serial | ||
@Test | ||
public void testSerialLogs() { | ||
int i = 0; | ||
for (String name : serial) { | ||
try { | ||
Path path = new TestLogFile("serial/" + name).getFile().toPath(); | ||
TestResults testResults = testGenerationalSingleLogFile(path); | ||
analyzeResults(name, testResults, serialNumberOfDifferentCollectors[i], serialCounts[i++]); | ||
} catch (IOException ioe) { | ||
fail(ioe.getMessage()); | ||
} | ||
} | ||
} | ||
|
||
private static final String[] serial = { | ||
"factorization-serialgc-tip.log" | ||
}; | ||
|
||
private static final int[] serialNumberOfDifferentCollectors = { | ||
2, | ||
}; | ||
|
||
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 commentThe 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? |
||
}; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!