Default JVM GC collector on runtime container
Issue
- What is the default GC collector on Docker container?
- Given that ParallelGC is the default collector for JDK 8 and G1GC is the default for JDK 11, why the container is running with Serial Gc?
Environment
- OpenJDK 8, 11, 17
- Red hat OpenShift Container Platform (OCP)
- 3.x/4.x
- Docker/CRI-O
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.