JVM errors and memory dumps in Coldfusion 2023 on reboot
We have recently migrated our Coldfusion 2021 environment to Coldfusion 2023 on Windows Server 2022 using Oracle JDK 17.0.16. We've noticed that on Coldfusion 2023, whenever we restart the server, there is a chance that each instance will generate a JVM error log & dump file in Coldfusion2023\instance_name\bin. The log (named in the pattern hs_err_pidXXXX.log, where XXXX is a 4 digit number) reports an EXCEPTION_ACCESS_VIOLATION (see the error details at the bottom). Also, a 1gb+ memory dump file named hs_err_pidXXXX.mdmp is generated.
We have various ideas for strategies on how to clean up these files, but are concerned that they are an indication of some problem in our CF2023 environment. So far, we have not seen any indication that the environment is unstable, and the files only generate when the server is rebooted - not when manually shutting down CF services. We use the Adobe provided Oracle JDK build, but have reproduced this with Redhat OpenJDK. We have an ongoing ticket with Adobe, who has tried various iterations of JVM flags with us, but would like to see if anyone in the community has encountered something similar.
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff9ab9557e0, pid=4428, tid=11096
#
# JRE version: Java(TM) SE Runtime Environment (17.0.16+12) (build 17.0.16+12-LTS-247)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.16+12-LTS-247, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, windows-amd64)
# Problematic frame:
# C [net.dll+0x57e0]
