comparison src/share/vm/oops/constMethod.hpp @ 7983:24a91505f9d5

8006949: Update hotspot for MethodParameters format change 8006907: Hotspot should reject classfiles with multiple MethodParameters attributes Summary: Update to Hotspot's processing of MethodParameters attributes in classfiles Reviewed-by: coleenp, jrose
author emc
date Mon, 04 Feb 2013 13:05:32 -0500
parents 16fb9f942703
children 927a311d00f9
comparison
equal deleted inserted replaced
7981:ce5467120c84 7983:24a91505f9d5
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 // This has to happen, otherwise it will cause SIGBUS from a 125 u2 flags;
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;
131 }; 126 };
132 127
133 class KlassSizeStats; 128 class KlassSizeStats;
134 129
135 class ConstMethod : public MetaspaceObj { 130 class ConstMethod : public MetaspaceObj {