I am running following code is FreeBSD with ulimit -c unlimited. My expectation is to JVM get crashed and all files in crash message should exists on the box.

Code to crash the JVM
public class ForceCoreDump

public static void main( String[] args ) throws Exception
java.lang.reflect.Field field = sun.misc.Unsafe.class.getDeclaredField("theUnsafe" );
sun.misc.Unsafe $ = (sun.misc.Unsafe) field.get(null);
$.putAddress(0, 0);


And running the program with no additional arguments
$ java ForceCoreDump
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x000000001fe7ce16, pid=63100, tid=524332608
# JRE version: 7.0-b13
# Java VM: OpenJDK 64-Bit Server VM (22.0-b10 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x87ce16] JVM_handle_bsd_signal+0x1280e6
# Core dump written. Default location: /d2/tmp/core or core.63100
# An error report file with more information is saved as:
# /d2/tmp/hs_err_pid63100.log
# If you would like to submit a bug report, please visit:
# HotSpot Virtual Machine Error Reporting Page
Abort trap: 6 (core dumped)

It says core dumped

Core dump written. Default location: /d2/tmp/core or core.63100

But these files are not found in the box.

Why these files are not generated or is there any way to block these messages?.