0

I have java application running on tcserver, which is a spring server based on tomcat-7.0.47. There are multiple of such applications running on a machine which has 64CPUs and 500G RAM. I have latest version of java i.e. 1.8.0_91. All the applications keep crashing and mostly due to the same error -

**# Problematic frame:

V [libjvm.so+0x437ce7] ciObjectFactory::create_new_metadata(Metadata*)+0x327**

Current thread (0x00007f6075ebd800): JavaThread "C2 CompilerThread3" daemon [_thread_in_vm, id=23187, stack(0x00007f602441c000,0x00007f602451d000)]

  • There are a lot issues in bug tracker https://bugs.openjdk.java.net/browse/JDK-8078731 https://bugs.openjdk.java.net/browse/JDK-8134389 They are closed as Cannot Reproduce. Try to change java version from 8 to 9 – Ivan Mamontov May 26 '16 at 17:15
  • Technically 1.8.0_91 is not the latest, that is 1.8.0_92; I suggest that you upgrade to a newer version of Tomcat 7 (7.0.47 is from 2013, before the Java 8 release in March 2014) or even to Tomcat 8. – Mark Rotteveel Jul 04 '16 at 09:38
  • could you provide complete stacktrace for the thread ? – Jamsheed Jul 25 '16 at 07:06

2 Answers2

0

In your crash reports

Current CompileTask

is always same method ? You can exclude method from JIT compilation via flag -XX:CompileCommand. See examples here. You can also run vm with -client compiler

commit-man
  • 376
  • 1
  • 2
  • 5
0

This is known issue in JDK8 and JDK9, it is being triaged https://bugs.openjdk.java.net/browse/JDK-8134389, you need to wait for this to get it fixed and get updated in upcoming releases.

Fairoz
  • 1,616
  • 13
  • 16