JDK 11: JVM Crash during startup of Camunda BPM Spring Boot project


#1

After upgrade from JDK 10 to AdoptOpenJDK 11, everytime when i startup Camunda BPM Service in Spring Tool Suite, it will encounter fatal error. The second time startup also fails and terminated. However after a few times it start up it will also startup successfully. Below are the error traces:

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffab13584e5, pid=24700, tid=20832

JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)

Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)

Problematic frame:

V [jvm.dll+0x6084e5] PerfLongVariant::sample+0x15

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

If you would like to submit a bug report, please visit:

http://bugreport.java.com/bugreport/crash.jsp


#2

Jdk 11 support comes with spring boot 2.1 which is not supported by Camunda yet