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

Specifying AOTCacheOutput with a blank path causes the JVM to crash

XMLWordPrintable

    • master
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      Specifying AOTCacheOutput with a blank path causes the JVM to crash and generate a hs_err file.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the java command with an empty path for the AOT cache output file `java -XX:AOTCacheOutput=`

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      When the `=` sign is omitted, the output is "Improperly specified VM option 'AOTCacheOutput'", which is what I would expect if the path is blank.
      ACTUAL -
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffe2846e0f6, pid=9636, tid=9892
      #
      # JRE version: (25.0+32) (build )
      # Java VM: OpenJDK 64-Bit Server VM (25-ea+32-3464, mixed mode, sharing, tiered, compressed class ptrs, unknown gc, windows-amd64)
      # Problematic frame:
      # C [VCRUNTIME140.dll+0xe0f6]


      ---------- BEGIN SOURCE ----------
      None required.
      ---------- END SOURCE ----------

            ccheung Calvin Cheung
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: