comparison 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
comparison
equal deleted inserted replaced
12809:faff125a1ead 12811:3374b92de2d9
993 public: 993 public:
994 // Lock for (1) initialization; (2) access to the ConstantPool of this class. 994 // Lock for (1) initialization; (2) access to the ConstantPool of this class.
995 // Must be one per class and it has to be a VM internal object so java code 995 // Must be one per class and it has to be a VM internal object so java code
996 // cannot lock it (like the mirror). 996 // cannot lock it (like the mirror).
997 // It has to be an object not a Mutex because it's held through java calls. 997 // It has to be an object not a Mutex because it's held through java calls.
998 volatile oop init_lock() const; 998 oop init_lock() const;
999 private: 999 private:
1000 1000
1001 // Static methods that are used to implement member methods where an exposed this pointer 1001 // Static methods that are used to implement member methods where an exposed this pointer
1002 // is needed due to possible GCs 1002 // is needed due to possible GCs
1003 static bool link_class_impl (instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS); 1003 static bool link_class_impl (instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS);