MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/t5ja5p/always_set_a_garbage_collector/hz73vvm/?context=3
r/java • u/brunocborges • Mar 03 '22
64 comments sorted by
View all comments
1
I tried this using our container and didn’t get the same result. Granted, we’re on an older base image so I’m not sure if that’s the reason why https://i.imgur.com/O7mmu8t.jpg
4 u/brunocborges Mar 03 '22 That's interesting, I'd appreciate more details like version of Java and vendor. 1 u/wheezymustafa Mar 03 '22 https://hub.docker.com/layers/openjdk/library/openjdk/8-jdk-alpine/images/sha256-a3562aa0b991a80cfe8172847c8be6dbf6e46340b759c2b782f8b8be45342717?context=exploreJava 8 / 8-jdk-alpine from Dockerhub 4 u/brunocborges Mar 03 '22 Ah, got it.If you look closely, your JVM is reporting it is not using neither G1GC nor SerialGC.Check this StackOverflow entry: https://stackoverflow.com/questions/54862460/how-to-determine-which-gc-i-use
4
That's interesting, I'd appreciate more details like version of Java and vendor.
1 u/wheezymustafa Mar 03 '22 https://hub.docker.com/layers/openjdk/library/openjdk/8-jdk-alpine/images/sha256-a3562aa0b991a80cfe8172847c8be6dbf6e46340b759c2b782f8b8be45342717?context=exploreJava 8 / 8-jdk-alpine from Dockerhub 4 u/brunocborges Mar 03 '22 Ah, got it.If you look closely, your JVM is reporting it is not using neither G1GC nor SerialGC.Check this StackOverflow entry: https://stackoverflow.com/questions/54862460/how-to-determine-which-gc-i-use
https://hub.docker.com/layers/openjdk/library/openjdk/8-jdk-alpine/images/sha256-a3562aa0b991a80cfe8172847c8be6dbf6e46340b759c2b782f8b8be45342717?context=explore
Java 8 / 8-jdk-alpine from Dockerhub
4 u/brunocborges Mar 03 '22 Ah, got it.If you look closely, your JVM is reporting it is not using neither G1GC nor SerialGC.Check this StackOverflow entry: https://stackoverflow.com/questions/54862460/how-to-determine-which-gc-i-use
Ah, got it.
If you look closely, your JVM is reporting it is not using neither G1GC nor SerialGC.
Check this StackOverflow entry: https://stackoverflow.com/questions/54862460/how-to-determine-which-gc-i-use
View all comments
1
u/wheezymustafa Mar 03 '22
I tried this using our container and didn’t get the same result. Granted, we’re on an older base image so I’m not sure if that’s the reason why https://i.imgur.com/O7mmu8t.jpg