8025004: -XX:+CheckUnhandledOops asserts for JDK 8 Solaris fastdebug binaries

Remove unnecessary volatile keyword on stack locals within instanceKlass.cpp to work around Solaris Studio C++ compiler issue

Reviewed-by: coleenp, dcubed
This commit is contained in:
Lois Foltan 2013-10-03 18:50:58 -04:00 committed by Coleen Phillimore
parent 13b13b1aed
commit e2466c1507
2 changed files with 6 additions and 6 deletions

View file

@ -995,7 +995,7 @@ public:
// 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