Skip to content

Conversation

@ryandunlavy
Copy link
Contributor

Small change to use -XX:+PrintGCDateStamps instead of -XX:+PrintGCTimeStamps for easier parsing of the GC logs. PrintGCTimeStamps will show the number of seconds since Looker started for garbage collection events, whereas PrintGCDateStamps will show the raw timestamps of the GC events.

https://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html

Small change to use -XX:+PrintGCDateStamps instead of -XX:+PrintGCTimeStamps for easier parsing of the GC logs. PrintGCTimeStamps will show the number of seconds since Looker started for garbage collection events, whereas PrintGCDateStamps will show the raw timestamps of the GC events.

https://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html
@ryandunlavy
Copy link
Contributor Author

@vince-looker would you mind taking a quick peek at this?

@mconigliaro
Copy link

This only works on Java 8. I had to use -Xlog:gc*:gc.log in 11. See: https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5

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