[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: RFR(s): 8065895: Synchronous signals during error reporting may terminate or hang VM process
From:       Andrew Haley <aph () redhat ! com>
Date:       2014-11-27 11:04:22
Message-ID: 54770536.5090101 () redhat ! com
[Download RAW message or body]

On 11/27/2014 11:00 AM, David Holmes wrote:
> On 27/11/2014 8:55 PM, Andrew Haley wrote:
>> On 11/27/2014 10:38 AM, Thomas Stüfe wrote:
>>> Hi Andrew, thank you! Does endianess matter ?
>>
>> Yes.  I'd do it symbolically rather than mess with endian defines:
>>
>> #ifdef AARCH64
>>    unsigned insn;
>>    asm("b 1f; 0: dcps1; 1: ldr %0, 0b" : "=r"(insn));
>> #endif
> 
> Does that work for ARMv7?

Sorry, I don't know what a good choice there would be.  And I must
warn you: DCPS1 isn't necessarily guaranteed to do this forever, but
it works on the kernels I've tried.

Andrew.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic