diff src/share/vm/oops/instanceKlass.hpp @ 12811:3374b92de2d9

8025004: -XX:+CheckUnhandledOops asserts for JDK 8 Solaris fastdebug binaries Summary: Remove unnecessary volatile keyword on stack locals within instanceKlass.cpp to work around Solaris Studio C++ compiler issue Reviewed-by: coleenp, dcubed Contributed-by: lois.foltan@oracle.com
author coleenp
date Thu, 03 Oct 2013 18:50:58 -0400
parents 0f37d1badced
children ac9cb1d5a202
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.hpp	Thu Oct 03 12:39:58 2013 +0400
+++ b/src/share/vm/oops/instanceKlass.hpp	Thu Oct 03 18:50:58 2013 -0400
@@ -995,7 +995,7 @@
   // Must be one per class and it has to be a VM internal object so java code
   // cannot lock it (like the mirror).
   // It has to be an object not a Mutex because it's held through java calls.
-  volatile oop init_lock() const;
+  oop init_lock() const;
 private:
 
   // Static methods that are used to implement member methods where an exposed this pointer