changeset 8640:d8af86b0b638

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
author lfoltan
date Tue, 08 Jul 2014 13:52:29 -0400
parents 46ab61b0758b
children a27880c1288b
files src/share/vm/oops/oopsHierarchy.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/oops/oopsHierarchy.hpp	Thu May 29 08:58:51 2014 -0400
+++ b/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