hotspot/src/share/vm/classfile/systemDictionary.hpp
changeset 38708 8c27a4f8b242
parent 37301 a936b4e01afb
child 39616 f82b1f888578
equal deleted inserted replaced
38707:1b9837ca28f4 38708:8c27a4f8b242
   418 #endif
   418 #endif
   419 
   419 
   420   // Initialization
   420   // Initialization
   421   static void initialize(TRAPS);
   421   static void initialize(TRAPS);
   422 
   422 
   423   // Fast access to commonly used classes (preloaded)
   423   // Checked fast access to commonly used classes - mostly preloaded
   424   static InstanceKlass* check_klass(InstanceKlass* k) {
   424   static InstanceKlass* check_klass(InstanceKlass* k) {
   425     assert(k != NULL, "preloaded klass not initialized");
   425     assert(k != NULL, "klass not loaded");
   426     return k;
   426     return k;
   427   }
   427   }
   428 
   428 
   429   static InstanceKlass* check_klass_Pre(InstanceKlass* k) { return check_klass(k); }
   429   static InstanceKlass* check_klass_Pre(InstanceKlass* k) { return check_klass(k); }
   430   static InstanceKlass* check_klass_Opt(InstanceKlass* k) { return k; }
   430   static InstanceKlass* check_klass_Opt(InstanceKlass* k) { return k; }