Strange bug inside jetty at shenandoah/jdk8u

Kirill A. Korinsky kirill at korins.ky
Thu Dec 14 22:29:57 UTC 2017


Hey,

Looks like I found issue that creates strange behaviour and broke starting an application at your fastdebug image

➜  ~ docker run --rm -ti shipilev/openjdk:8-shenandoah-fastdebug bash
root at 27a293be90b2:/# java -Xmx4096m -Xms4096m -version
Killed
root at 27a293be90b2:/# java -Xmx4096m -version
openjdk version "1.8.0-internal-fastdebug"
OpenJDK Runtime Environment (build 1.8.0-internal-fastdebug-jenkins_2017_11_15_05_12-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00-fastdebug, mixed mode)
root at 27a293be90b2:/# exit
exit
➜  ~ docker run --rm -ti shipilev/openjdk:8-shenandoah bash
root at 10aa56f25cb7:/# java -Xmx4096m -Xms4096m -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-jenkins_2017_11_15_03_20-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)
root at 10aa56f25cb7:/# exit
exit
➜  ~ docker images | grep shenandoah
shipilev/openjdk         8-shenandoah-fastdebug   ec13bdd01380        4 weeks ago         383MB
shipilev/openjdk         8-shenandoah             cb7dbc6f6fb9        4 weeks ago         385MB
➜  ~

Yes, I just removed `-Xms` from arguments and it helps:
 - it starts at fastdebug image;
 - it doesn't crash at ab test.

Anyway, I will keep testing, and if it crashed I let you know

--
wbr, Kirill


> On 14 Dec 2017, at 22:02, Aleksey Shipilev <shade at redhat.com> wrote:
> 
> On 12/14/2017 06:52 PM, Kirill A. Korinsky wrote:
>> Good day!
>> 
>> I've tried use shenandoah on real application and found strange behaviour.
> 
> Thanks for reporting this!
> 
>> The application is usual java-http-server (jgroup, spring, jetty, etc) that listen to port and responses to request.
>> 
>> If remove from arguments all `-D[application settings]` the start command looks like:
>>> java -server -Duser.timezone=UTC -XX:-OmitStackTraceInFastThrow -Xmx4096 -Xms4096 -server ${GC_OPTIONS} -Djava.net.preferIPv4Stack=true -Djava.security.auth.login.config=/opt/server/conf/jaas.conf -jar /path/to/shade.jar
> 
> Any chance you can whip up a simple reproducer for this? Something like Maven project that produces
> a JAR in question.
> 
>> I can't run it at shipilev/openjdk:8-shenandoah-fastdebug because JVM crashed without logs
> 
> Crashing without logs is weird. Can you run the non-Docker nightly JDK from here?
>  https://builds.shipilev.net/openjdk-shenandoah-jdk8/
> 
> Our wiki outlines some steps to better dissect this:
>  https://wiki.openjdk.java.net/display/shenandoah/Main#Main-FunctionalDiagnostics
> 
> Thanks,
> -Aleksey
> 
> 



More information about the shenandoah-dev mailing list