Change thread dump location?
david.holmes at oracle.com
Tue Apr 15 06:21:29 UTC 2014
On 11/04/2014 11:34 PM, Jaromir Hamala wrote:
> I'd like to create a patch allowing to change a location of a threaddump
> when it's triggered by sending a signal. My understanding is that currently
> there is no option to specify a custom path.
Do you mean the thread-dump in response to SIGQUIT (which goes to the
VM's output stream) or the hs-err log file produced when the VM crashes?
The SIGQUIT thread-dump doesn't go to a file unless you happen to be
redirecting VM output to a file.
> Is this a feature you would consider to accept & eventually merge? I'm
> aware one could use eg. jstack to save the threaddump into an arbitrary
> location, but this tooling is not always available as it's part of JDK and
> not JRE.
More information about the hotspot-dev