← Back to team overview

openjdk team mailing list archive

Bug#909560: openjdk-11 missing ZGC feature

 

Package: openjdk-11-jdk
Version: 11~28-1


One of the main Java 11 features is shipping with low latency Garbage collector.. However starting docker image from openjdk seems to have this feature missing:

docker run --rm -it openjdk:11-ea-slim java -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -version
Error occurred during initialization of VM
Option -XX:+UseZGC not supported

After filling bug at https://github.com/docker-library/openjdk/issues/233 the root cause was moved upstream to debian package installed

Dockerfile installed package:
https://github.com/docker-library/openjdk/blob/ecb81629f5d5f226491e9f3e0a5be11662f72870/11/jdk/Dockerfile
apt-get install -y --no-install-recommends openjdk-11-jdk="11~28-1"


Caused probably by the same problem as seen in: https://twitter.com/shipilev/status/1039180042260111360