Exemplo utilizando openjdk e openj9
mvn clean install
docker-compose build
docker-compose up
docker stats --no-stream --format "table {{.Container}}\t{{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"
CONTAINER NAME CPU % MEM USAGE / LIMIT
a99f82eb3a3a demo_app-jdk_1 0.10% 210.5MiB / 1.934GiB
188a58b82501 demo_app-openj9_1 0.10% 62.6MiB / 1.934GiB
https://medium.com/criciumadev/using-openj9-for-running-microservices-in-docker-ebb0b5da1e00 https://www.eclipse.org/openj9/ https://medium.com/criciumadev/new-open-source-jvm-optimized-for-cloud-and-microservices-c75a41aa987d?