8029566: PPC: OrderAccess::load_acquire(julong) is broken

Wed, 11 Dec 2013 13:51:28 -0500

author
jprovino
date
Wed, 11 Dec 2013 13:51:28 -0500
changeset 6177
fa6d364024c2
parent 6160
3aa20cee331a
child 6178
dc09e905db20

8029566: PPC: OrderAccess::load_acquire(julong) is broken
Summary: JFR needs this fix to run on PPC
Reviewed-by: sla, mikael

src/share/vm/utilities/globalDefinitions_gcc.hpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/utilities/globalDefinitions_gcc.hpp	Fri Dec 06 09:41:57 2013 -0800
     1.2 +++ b/src/share/vm/utilities/globalDefinitions_gcc.hpp	Wed Dec 11 13:51:28 2013 -0500
     1.3 @@ -174,6 +174,7 @@
     1.4  
     1.5  inline jint    jint_cast   (jfloat  x)           { return *(jint*   )&x; }
     1.6  inline jlong   jlong_cast  (jdouble x)           { return *(jlong*  )&x; }
     1.7 +inline julong  julong_cast (jdouble x)           { return *(julong* )&x; }
     1.8  
     1.9  inline jfloat  jfloat_cast (jint    x)           { return *(jfloat* )&x; }
    1.10  inline jdouble jdouble_cast(jlong   x)           { return *(jdouble*)&x; }

mercurial