The xenial image sets the _JAVA_OPTIONS environment variable. Isn’t this a relic from the container-based (sudo: false) image?
Can this environment variable be removed from xenial? Otherwise each Java-based command emits something like _"Picked up JAVA_OPTIONS: -Xmx2048m -Xms512m" as the first line on the console.