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:
      #/tmp/hs_err_pid1509.log
      #
      #If you would like to submit a bug report, please visit:
      #http://bugreport.java.com/bugreport/crash.jsp
      #
      

      Please bundle JDK8u60 in Confluence 5.8.x installer distribution once JDK8u60 has been released.

      Workarounds:

      1. Upgrade to JDK8u51 or the latest. It can be downloaded here.
      2. Add the -XX:-UseAESIntrinsics flag to the JVM - this disables AES Intrinsics (introduced in Java 8).

            [CONFSERVER-37914] Confluence 5.8.x Installer with Bundled JDK8u45

            rtatoursbd

            Roufique hossain added a comment - rtatoursbd

            This is actually fixed in 1.8.0_51, though it is not listed in the release notes. behumphreys has confirmed it:

            Yes, it's not in the release notes but I have:
            1) Reproduced the issue on 8u45
            2) Demonstrated it can't be reproduced in 8u51
            3) Checked the OpenJDK source code to verify the fix was present
            4) Disassembled GCTR.class from 8u45 and confirmed fix is NOT present
            5) Disassembled GCTR.class from 8u51 and confirmed fix IS present

            Here is a bug report Oracle recently opened to the public... has a testcase: https://bugs.openjdk.java.net/browse/JDK-8068663

            And here is the fix: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/e7e36535d70e

            There is actually a pretty good writeup in a public email archive.... http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2015-April/017630.html

            Denise Unterwurzacher [Atlassian] (Inactive) added a comment - This is actually fixed in 1.8.0_51, though it is not listed in the release notes. behumphreys has confirmed it: Yes, it's not in the release notes but I have: 1) Reproduced the issue on 8u45 2) Demonstrated it can't be reproduced in 8u51 3) Checked the OpenJDK source code to verify the fix was present 4) Disassembled GCTR.class from 8u45 and confirmed fix is NOT present 5) Disassembled GCTR.class from 8u51 and confirmed fix IS present Here is a bug report Oracle recently opened to the public... has a testcase: https://bugs.openjdk.java.net/browse/JDK-8068663 And here is the fix: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/e7e36535d70e There is actually a pretty good writeup in a public email archive.... http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2015-April/017630.html

            FYI, 1.8.0_51 was just released, but it does not contain the fix for this issue. Looks like we will have to wait for 1.8.0_60 after all.

            Denise Unterwurzacher [Atlassian] (Inactive) added a comment - FYI, 1.8.0_51 was just released, but it does not contain the fix for this issue. Looks like we will have to wait for 1.8.0_60 after all.

            This is not resolved - I have implemented a workaround in 5.8.6 but the installer is still bundling 1.8.0_45. I am reopening this ticket until we can bundle 1.8.0_60.

            Denise Unterwurzacher [Atlassian] (Inactive) added a comment - This is not resolved - I have implemented a workaround in 5.8.6 but the installer is still bundling 1.8.0_45. I am reopening this ticket until we can bundle 1.8.0_60.

            1.8.0_60 hasn't been released yet. I'll update it as soon as it is.

            Denise Unterwurzacher [Atlassian] (Inactive) added a comment - 1.8.0_60 hasn't been released yet. I'll update it as soon as it is.

              datran Dat Tran (Inactive)
              lrura Lauretha Rura
              Affected customers:
              9 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: