RFR (S): 8028470: PPC64 (part 214): linux: extend signal handler to catch SIGTRAP on ppc64.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Mon Nov 18 00:39:50 PST 2013


Hi Vladimir,

that's because in our VM, we always print all handlers.

I added the #define in  the print routine.
http://cr.openjdk.java.net/~goetz/webrevs/8028470-0-trap/

Best regards,
  Goetz

-----Original Message-----
From: Vladimir Kozlov [mailto:vladimir.kozlov at oracle.com] 
Sent: Samstag, 16. November 2013 02:34
To: Lindenmaier, Goetz; 'hotspot-dev at openjdk.java.net'; 'ppc-aix-port-dev at openjdk.java.net'
Subject: Re: RFR (S): 8028470: PPC64 (part 214): linux: extend signal handler to catch SIGTRAP on ppc64.

Whi print_signal_handler() is called for SIGTRAP if handler is not 
installed (on not PPC64)?

Thanks,
Vladimir

On 11/15/13 4:56 PM, Lindenmaier, Goetz wrote:
> Hi,
>
> PPC has a compare-and-trap instruction that is used for NullChecks and RangeChecks.
> If a check fails, SIGTRAP is raised and must be handled by the signal handler of the VM.
> Add support for handling SIGTRAP on PPC64 to linux.
>
> http://cr.openjdk.java.net/~goetz/webrevs/8028470-0-trap/
>
> Please review and test this change.
>
> Best regards,
>    Goetz.
>


More information about the ppc-aix-port-dev mailing list