-
Notifications
You must be signed in to change notification settings - Fork 978
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
Tenured Generation graph not showing up when using openJDK 11 #265
Comments
Hi @altdelnow The issue is not generally the OpenJDK11 logs, but G1 logs in unified GC logging format. The green rectangles show the information that currently is used by GCViewer for G1 logs: The difficult part is calculation of the regions:
GCViewer tries to multiply the number of regions (in the example: eden 0 + survivor 1 = 1 young region; 9 old regions) with the region size logged in the beginning of a log to get a rough size of young and tenured space. Humongous regions don't seem to be in the young nor the tenured category, I never knew where to count them. And I am also not sure, if the size of a humongous region is the same as an eden / survivor / old region. Your trace information would probably contain all the information necessary to show more information about the regions, but it is currently ignored. In this class you see the included and excluded information by the parser: https://github.com/chewiebug/GCViewer/blob/develop/src/main/java/com/tagtraum/perf/gcviewer/imp/DataReaderUnifiedJvmLogging.java#L170 The best you can get with G1 in unified GC logging format looks like this (I have turned off some information in the chart to better see the young plot): The reason for this little improvement is the presence of the following line in the gc log: For a openJDK 11 serial gc log, you'll see something like this: For OpenJDK 11+ ZGC the situation is even worse than with G1. There the parser definitely needs an update. |
@chewiebug Would it make sense to adopt gctoolkit (previously jClarity Censum) for the parsing? I know that won't fix the display issues you discussed, but maybe it'd free up time updating the parser for the constantly changing format? |
I have been testing GCViewer-1.37-SNAPSHOT.jar for a while and found that though there are some information on Tenured Generation in Summary. it does not show up in graphical mode. I see no parsing error.
My JVM string :
set CATALINA_OPTS="-Xlog:gc*,gc+age*=trace,gc+heap*=trace,safepoint:file=gc-%%t_%%p.log:tags,time,uptime,level:filecount=5,filesize=10M"
I am attaching sample log file for your review.
LatestGCLogs1stMar.zip
Please let me know if I am missing something ?
The text was updated successfully, but these errors were encountered: