A DESCRIPTION OF THE REQUEST :
The data output with e.g. -verbosegc and -XX:+PrintGCDetails are all output in human readable format. However, we would like to be able to take the output of an entire day of execution and read it into a spreadsheet in order to make comparisons and graphs of large numbers of garbage collections.
JUSTIFICATION :
Currently, I have awk scripts which convert the gc log output into a CSV, but I need to take different gc algorithms into account. With the introduction of the G1 garbage collector, I'll have to revamp my awk scripts to parse that data in order to compare this new collector to CMS for our application.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The CSV output should be consistent across all garbage collection algorithms, and should include the following columns:
time of gc, new start, new end, survivor start, survivor end, old start, old end, duration of "stop the world".
ACTUAL -
GC output is in difficult to parse human readable format. Each garbage collector prints a unique set of data, formatted differently.
CUSTOMER SUBMITTED WORKAROUND :
Awk scripts.
The data output with e.g. -verbosegc and -XX:+PrintGCDetails are all output in human readable format. However, we would like to be able to take the output of an entire day of execution and read it into a spreadsheet in order to make comparisons and graphs of large numbers of garbage collections.
JUSTIFICATION :
Currently, I have awk scripts which convert the gc log output into a CSV, but I need to take different gc algorithms into account. With the introduction of the G1 garbage collector, I'll have to revamp my awk scripts to parse that data in order to compare this new collector to CMS for our application.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The CSV output should be consistent across all garbage collection algorithms, and should include the following columns:
time of gc, new start, new end, survivor start, survivor end, old start, old end, duration of "stop the world".
ACTUAL -
GC output is in difficult to parse human readable format. Each garbage collector prints a unique set of data, formatted differently.
CUSTOMER SUBMITTED WORKAROUND :
Awk scripts.