hotspot/src/share/vm/oops/instanceKlass.hpp
changeset 21079 7028d0cb9b49
parent 20391 7b146c5ebb18
child 21768 b7dba4cde1c6
equal deleted inserted replaced
21077:85a46889c631 21079:7028d0cb9b49
  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);