Per-process core dump directory

David Holmes david.holmes at
Sun Jul 28 21:56:15 PDT 2013

Hi Richard,

Moving this to the hotspot-dev list, please drop the discuss list from 
further emails as it is not for discussion of specific technical issues 
in the code.


On 26/07/2013 6:29 PM, Richard Fearn wrote:
> Hi all,
> Yesterday I was looking at where core dumps are saved when Java
> processes crash (on Linux).
> I know that the location of core dumps is set via the
> kernel.core_pattern kernel parameter, and can be seen in
> /proc/sys/kernel/core_pattern. This is a global setting, however, that
> applies to any process that crashes.
> Apache httpd has a CoreDumpDirectory directive [1] that allows the
> directory to be specified; Apache installs signal handlers [2] so that
> the current directory is changed before the dump is written.
> Has anything similar ever been considered for the JVM? I had a quick
> look in the bug database, but apart from lots of reports of core dumps
> happening, I couldn't see anything about changing the location where
> they are stored. Are there any existing bugs about this?
> Regards,
> Rich
> [1]
> [2]

More information about the hotspot-dev mailing list