Dumping core on Exception

Christian Thalinger christian.thalinger at oracle.com
Thu Jun 5 15:20:58 UTC 2014


  notproduct(ccstr, AbortVMOnException, NULL,                               \
          "Call fatal if this exception is thrown.  Example: "              \
          "java -XX:AbortVMOnException=java.lang.NullPointerException Foo") \

On Jun 5, 2014, at 5:22 AM, paritosh chandragupta <paritoshcgupta at gmail.com> wrote:

> Hi All ,
> 
>  Is there a way to dump core on JVM when any exception is received ?
> 
>    This is something similar to -Xdump option on IBM .I have tried with
> -XX:OnError . This does not dump core on exceptions , only on errors .
> 
> Thanks,
> Paritosh



More information about the hotspot-runtime-dev mailing list