Skip to content

Feature/#61: Support GC log file rotation #176

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

Merged
merged 8 commits into from
Aug 17, 2016

Conversation

geld0r
Copy link
Contributor

@geld0r geld0r commented Aug 12, 2016

Support for rolled GC log files (called "series") has been added.
The underlying model was extended in order to support this efficiently.
See related issue for more details.

geld0r added 8 commits June 5, 2016 13:59
… implementation

Different kind of GcResources may exist that should be treated uniformly.
This allows to have "real" file backed GcResources as well as artificially assembled ones that are backed by more than one file.
If required, other subclasses can be created for GcResources that are not backed by any file at all.
 For several model elements a proper #equals & hashcode have been added.
 This allows to compare GCEvents & GCModels, e.g. in tests. This should however also come in handy in other situations, e.g when storing them in hash based collections
In cases where the creation date is unavailable (URL resource, unix filestystem) the lastModified time is used instead.
Support for rotated logfiles has been added. This allows to open a series of consecutive logfiles and treat them as one (merged) gc log.
This allows to analyze logfiles that have been created over a longer period in a production environment.
…ewiebug#61)

When a series of logfiles was recently opened, it can now be reopened from the "recent" menu.
In order to support this, GCResourceGroup was refactored and now only stores the URL of a Resource instead of the whole resource (as it apparently was already before).
This allows to also store GcResourceSeries in the same way as regular GcResources.
Commandline support for parsing logfile series has been added.
Syntactically this is close to existing commandline arguments.
Some additional refactoring was done to have a unified handling of the various types of resources that can be used.
- In the "recent" menu, show shortened description for GcSeries
- Added calculation of start date to GCModel
- Fixed error when loading a GcSeries via Commandline
- Other smaller improvements
@chewiebug
Copy link
Owner

Thank you very much - I will merge it soon!

@geld0r
Copy link
Contributor Author

geld0r commented Aug 15, 2016

Looking forward to it.
As for the conflict, do I have to solve that?
Regarding the follow-up change (for import performance), I'll prepare a separate pull request for that after this is in since it depends on it (unless you would also take it as part of this).

@chewiebug
Copy link
Owner

chewiebug commented Aug 15, 2016 via email

@chewiebug chewiebug merged commit 536ba64 into chewiebug:develop Aug 17, 2016
@geld0r geld0r deleted the feature/#61 branch August 17, 2016 18:26
@chewiebug chewiebug added this to the 1.35 milestone Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants