OpenJDK / jdk / hs
changeset 25478:7e6c884aa31f
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 | 7dad9f95fd31 |
children | f5bffb24bf7c b3bd733f04e9 |
files | hotspot/src/share/vm/oops/oopsHierarchy.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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