Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218829

JVM crash - CompilationPolicy::can_be_compiled(methodHandle, int)

XMLWordPrintable

    • x86
    • linux

      A DESCRIPTION OF THE PROBLEM :
      My java web application is based on SpringBoot and running on JDK1.8.0_181-b13, and some day it crashed.
      The following is what I has done but not worked well:
      1.change jvm args, using "-XX:-TieredCompilation", this reduce the number of crashes
      2.expand heap space, this has no effect and crash still occurred
      3.upgrade to JDK1.8.0_201, not worked well...

      Almost all of the crash files are like this(crash_file1):
      https://gist.github.com/bug1024/dae9b183c244fc90ab1cf34493724d3c

      This kind of crash file only occurred twice(crash_file2):
      https://gist.github.com/bug1024/9e4db26c4798b1935b2cf2668c7b9287

      Application will be restart after crash, the following is the application log:
      https://gist.github.com/bug1024/8b4c034d04dd23f8afbac4da4d6f45e7

      I found an incredible NullPointerException In application log, on line 329 "return null" cause NPE?
      https://gist.github.com/bug1024/1752b203b4760a71bf12ca5683548e1f

      Unfortunately, I can not reproduce this crash ...




      FREQUENCY : occasionally


            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: