src/share/vm/classfile/systemDictionary.hpp

changeset 1100
c89f86385056
parent 1014
0fbdb4381b99
child 1145
e5b0439ef4ae
equal deleted inserted replaced
1082:bd441136a5ce 1100:c89f86385056
159 159
160 160
161 class SystemDictionary : AllStatic { 161 class SystemDictionary : AllStatic {
162 friend class VMStructs; 162 friend class VMStructs;
163 friend class CompactingPermGenGen; 163 friend class CompactingPermGenGen;
164 friend class SystemDictionaryHandles;
164 NOT_PRODUCT(friend class instanceKlassKlass;) 165 NOT_PRODUCT(friend class instanceKlassKlass;)
165 166
166 public: 167 public:
167 enum WKID { 168 enum WKID {
168 NO_WKID = 0, 169 NO_WKID = 0,
593 static oop _java_system_loader; 594 static oop _java_system_loader;
594 595
595 static bool _has_loadClassInternal; 596 static bool _has_loadClassInternal;
596 static bool _has_checkPackageAccess; 597 static bool _has_checkPackageAccess;
597 }; 598 };
599
600 // Cf. vmSymbols vs. vmSymbolHandles
601 class SystemDictionaryHandles : AllStatic {
602 public:
603 #define WK_KLASS_HANDLE_DECLARE(name, ignore_symbol, option) \
604 static KlassHandle name() { \
605 SystemDictionary::name(); \
606 klassOop* loc = &SystemDictionary::_well_known_klasses[SystemDictionary::WK_KLASS_ENUM_NAME(name)]; \
607 return KlassHandle(loc, true); \
608 }
609 WK_KLASSES_DO(WK_KLASS_HANDLE_DECLARE);
610 #undef WK_KLASS_HANDLE_DECLARE
611
612 static KlassHandle box_klass(BasicType t);
613 };

mercurial