Skip to content
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

Minor optimization for unified G1GC parsing #297

Merged
merged 2 commits into from
Jun 15, 2023
Merged

Conversation

dsgrieve
Copy link
Member

@dsgrieve dsgrieve commented Jun 14, 2023

Relative to issue #203

Additional minor optimization for G1GC parsing. Since the rule pattern matches what comes after the GC id in the log line, use the end position of the GC id to substring the log line. Basically, don't try to match the pattern where we know the match will fail.

The same optimization could not be used in the UnifiedGenerationalParser without having to re-engineer how that parser manages its forward reference.

@dsgrieve dsgrieve merged commit 7b1218c into main Jun 15, 2023
5 checks passed
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.

None yet

2 participants