RFR(s): 8065895: Synchronous signals during error reporting may terminate or hang VM process
Andrew Haley
aph at redhat.com
Thu Nov 27 11:04:22 UTC 2014
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.
More information about the hotspot-runtime-dev
mailing list