Dumping core on Exception
Christian Thalinger
christian.thalinger at oracle.com
Thu Jun 5 15:44:44 UTC 2014
No. That’s why I posted the whole code snippet so you can see it’s a notproduct flag. Either download a fastdebug build or change the sources so it’s available in a product build.
On Jun 5, 2014, at 8:41 AM, paritosh chandragupta <paritoshcgupta at gmail.com> wrote:
> 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