PPC64 doesn't define SUPPORTS_NATIVE_CX8 ?

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Thu Jun 5 07:06:28 UTC 2014


Hi David,

thanks for spotting this!  Yes, this should be set.  We also set it
in our internal VM, somehow it got lost in the port.

It would be great if you could fix this along with your change.

Best regards,
  Goetz.


-----Original Message-----
From: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of David Holmes
Sent: Donnerstag, 5. Juni 2014 00:54
To: ppc-aix-port-dev at openjdk.java.net
Cc: hotspot-dev developers
Subject: PPC64 doesn't define SUPPORTS_NATIVE_CX8 ?

SUPPORTS_NATIVE_CX8 is used by platforms with full 64-bit CAS and 
atomics capability to elide the lock-based Unsafe jlong atomic update 
methods and avoid a runtime VM_Version::supports_cx8() check. I just 
noticed this isn't set for PPC64. Can I assume that is just an 
oversight? I have some changes to the lock-based code in the pipeline 
and can update the PPC64 code at the same time if desired.

Thanks,
David



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