Currently Confluence 5.8.x Installer for both Windows and Linux distribution is bundled with JDK8u45.
However, there's a known bug - JDK-8068400 in Java itself that's affecting JDK8u45, which is causing JVM crashes that lead to a Confluence outage. This bug has been confirmed to be fixed in JDK8u51.
Snippet of the crash log during the JVM crash as per below:
#A fatal error has been detected by the Java Runtime Environment:
#Internal Error (sharedRuntime.cpp:834), pid=1509, tid=140309741414144
#fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x00007f9d090541ef
#JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
#Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
#Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#An error report file with more information is saved as:
#If you would like to submit a bug report, please visit:
Please bundle JDK8u60 in Confluence 5.8.x installer distribution once JDK8u60 has been released.
- Upgrade to JDK8u51 or the latest. It can be downloaded here.
- Add the -XX:-UseAESIntrinsics flag to the JVM - this disables AES Intrinsics (introduced in Java 8).