hotspot/src/share/vm/classfile/javaClasses.hpp
changeset 2570 ecc7862946d4
parent 2534 08dac9ce0cd7
child 4094 1f424b2b2171
equal deleted inserted replaced
2569:9e8daec25638 2570:ecc7862946d4
  1058   static int vmslots_offset_in_bytes()          { return _vmslots_offset; }
  1058   static int vmslots_offset_in_bytes()          { return _vmslots_offset; }
  1059   static int erasedType_offset_in_bytes()       { return _erasedType_offset; }
  1059   static int erasedType_offset_in_bytes()       { return _erasedType_offset; }
  1060 };
  1060 };
  1061 
  1061 
  1062 
  1062 
       
  1063 // Interface to sun.dyn.CallSiteImpl objects
       
  1064 
       
  1065 class sun_dyn_CallSiteImpl: AllStatic {
       
  1066   friend class JavaClasses;
       
  1067 
       
  1068 private:
       
  1069   static int _type_offset;
       
  1070   static int _target_offset;
       
  1071   static int _vmmethod_offset;
       
  1072 
       
  1073   static void compute_offsets();
       
  1074 
       
  1075 public:
       
  1076   // Accessors
       
  1077   static oop            type(oop site);
       
  1078 
       
  1079   static oop            target(oop site);
       
  1080   static void       set_target(oop site, oop target);
       
  1081 
       
  1082   static oop            vmmethod(oop site);
       
  1083   static void       set_vmmethod(oop site, oop ref);
       
  1084 
       
  1085   // Accessors for code generation:
       
  1086   static int target_offset_in_bytes()           { return _target_offset; }
       
  1087   static int type_offset_in_bytes()             { return _type_offset; }
       
  1088   static int vmmethod_offset_in_bytes()         { return _vmmethod_offset; }
       
  1089 };
  1063 
  1090 
  1064 
  1091 
  1065 // Interface to java.security.AccessControlContext objects
  1092 // Interface to java.security.AccessControlContext objects
  1066 
  1093 
  1067 class java_security_AccessControlContext: AllStatic {
  1094 class java_security_AccessControlContext: AllStatic {