src/share/vm/oops/constMethod.hpp

changeset 4431
f9eb431c3efe
parent 4398
ade95d680b42
child 4497
16fb9f942703
equal deleted inserted replaced
4429:90a92d5bca17 4431:f9eb431c3efe
120 120
121 // Utility class describing elements in method parameters 121 // Utility class describing elements in method parameters
122 class MethodParametersElement VALUE_OBJ_CLASS_SPEC { 122 class MethodParametersElement VALUE_OBJ_CLASS_SPEC {
123 public: 123 public:
124 u2 name_cp_index; 124 u2 name_cp_index;
125 u4 flags; 125 // This has to happen, otherwise it will cause SIGBUS from a
126 // misaligned u4 on some architectures (ie SPARC)
127 // because MethodParametersElements are only aligned mod 2
128 // within the ConstMethod container u2 flags_hi;
129 u2 flags_hi;
130 u2 flags_lo;
126 }; 131 };
127 132
128 133
129 class ConstMethod : public MetaspaceObj { 134 class ConstMethod : public MetaspaceObj {
130 friend class VMStructs; 135 friend class VMStructs;

mercurial