comparison src/share/vm/oops/instanceKlass.hpp @ 12946:b8860472c377

8014910: deadlock between JVM/TI ClassPrepare event handler and CompilerThread Summary: Revert changes in JDK-8008962 Reviewed-by: coleenp, sspitsyn
author iklam
date Tue, 22 Oct 2013 14:29:02 -0700
parents ac9cb1d5a202
children 096c224171c4 22eaa15b7960
comparison
equal deleted inserted replaced
12944:1327b7f85503 12946:b8860472c377
1021 // Must be one per class and it has to be a VM internal object so java code 1021 // Must be one per class and it has to be a VM internal object so java code
1022 // cannot lock it (like the mirror). 1022 // cannot lock it (like the mirror).
1023 // It has to be an object not a Mutex because it's held through java calls. 1023 // It has to be an object not a Mutex because it's held through java calls.
1024 oop init_lock() const; 1024 oop init_lock() const;
1025 private: 1025 private:
1026 void fence_and_clear_init_lock();
1026 1027
1027 // Static methods that are used to implement member methods where an exposed this pointer 1028 // Static methods that are used to implement member methods where an exposed this pointer
1028 // is needed due to possible GCs 1029 // is needed due to possible GCs
1029 static bool link_class_impl (instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS); 1030 static bool link_class_impl (instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS);
1030 static bool verify_code (instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS); 1031 static bool verify_code (instanceKlassHandle this_oop, bool throw_verifyerror, TRAPS);