Dumping core on Exception

paritosh chandragupta paritoshcgupta at gmail.com
Thu Jun 5 15:41:31 UTC 2014


Hi Christian ,

Thanks for your reply . I think this option is only for development bits ,
Is some similar option exposed for product bits also?

Regards,
Paritosh

paritosh at PC-31494 /cygdrive/c
$ java -XX:AbortVMOnException=java.lang.NullPointerException -version
Unrecognized VM option 'AbortVMOnException=java.lang.NullPointerException'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.




On Thu, Jun 5, 2014 at 8:50 PM, Christian Thalinger <
christian.thalinger at oracle.com> wrote:

>   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