changeset 5769:cca85d826c8f

8029566: PPC: OrderAccess::load_acquire(julong) is broken Summary: JFR needs this fix to run on PPC Reviewed-by: sla, mikael
author jprovino
date Wed, 11 Dec 2013 13:51:28 -0500
parents 567455579fe4
children f3e0bcfff3ab
files src/share/vm/utilities/globalDefinitions_gcc.hpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions_gcc.hpp	Wed Dec 11 01:09:04 2013 +0400
+++ b/src/share/vm/utilities/globalDefinitions_gcc.hpp	Wed Dec 11 13:51:28 2013 -0500
@@ -174,6 +174,7 @@
 
 inline jint    jint_cast   (jfloat  x)           { return *(jint*   )&x; }
 inline jlong   jlong_cast  (jdouble x)           { return *(jlong*  )&x; }
+inline julong  julong_cast (jdouble x)           { return *(julong* )&x; }
 
 inline jfloat  jfloat_cast (jint    x)           { return *(jfloat* )&x; }
 inline jdouble jdouble_cast(jlong   x)           { return *(jdouble*)&x; }