8048128: Fix for Solaris Studio C++ 5.13, CHECK_UNHANDLED_OOPS breaks PPC build.
Summary: Changes to successfully compile class oop within oops/oopsHierarchy.hpp for PPC build (with gcc 4.1.2).
Reviewed-by: dholmes, hseigel
--- a/hotspot/src/share/vm/oops/oopsHierarchy.hpp Tue Jul 08 08:04:06 2014 -0700
+++ b/hotspot/src/share/vm/oops/oopsHierarchy.hpp Tue Jul 08 13:52:29 2014 -0400
@@ -124,7 +124,7 @@
operator oopDesc* () const volatile { return obj(); }
operator intptr_t* () const { return (intptr_t*)obj(); }
operator PromotedObject* () const { return (PromotedObject*)obj(); }
- operator markOop () const { return markOop(obj()); }
+ operator markOop () const volatile { return markOop(obj()); }
operator address () const { return (address)obj(); }
// from javaCalls.cpp