-
Notifications
You must be signed in to change notification settings - Fork 157
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
Unrecognised ZGC file #382
Comments
ZGC coverage is weak. We do need more/better tests for ZGC. We do have tests for this, but it is very light. Again, a log file would help. |
@dsgrieve please see the log attached: |
ZGC currently requires the use of "gc+init" to discover the type due to the start tag regex.
I think this could easily be moved to simply the the "gc" log tag of
|
j-bahr
added a commit
to j-bahr/gctoolkit
that referenced
this issue
Feb 28, 2025
1) Adding new GC causes from /src/jdk/src/hotspot/share/gc/shared/gcCause.cpp in JDK 21. This may help fix issues seen in microsoft#382. 2) Create GCCauses map programmatically from enum value list. This is less error prone in the event of adding causes.
Merged
j-bahr
added a commit
to j-bahr/gctoolkit
that referenced
this issue
Feb 28, 2025
1) Adding new GC causes from /src/jdk/src/hotspot/share/gc/shared/gcCause.cpp in JDK 21. This may help fix issues seen in microsoft#382. 2) Create GCCauses map programmatically from enum value list. This is less error prone in the event of adding causes.
kcpeppe
pushed a commit
that referenced
this issue
Mar 3, 2025
1) Adding new GC causes from /src/jdk/src/hotspot/share/gc/shared/gcCause.cpp in JDK 21. This may help fix issues seen in #382. 2) Create GCCauses map programmatically from enum value list. This is less error prone in the event of adding causes. Note: This is a potentially breaking change for Aggregation classes that care about GCCause.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gctoolkit is not being able to recognize ZGC file generated with non-debug mode. Issue is because it indicates ZGC file by looking for "Initializing The Z Garbage Collector" line, which is not there if you just generate zgc log by bin/java -XX:+UseZGC , but if I generate it on debug mode, then all is good: bin/java -XX:+UseZGC -Xlog:gc*,gc+director=debug:file=cms_generated.log:time,level,tags. The line that exists in both files and I guess could be used is "Using The Z Garbage Collector"
The text was updated successfully, but these errors were encountered: