--- a/hotspot/src/share/vm/oops/constMethod.hpp Sun Feb 03 17:12:31 2013 -0500
+++ b/hotspot/src/share/vm/oops/constMethod.hpp Mon Feb 04 13:05:32 2013 -0500
@@ -122,12 +122,7 @@
class MethodParametersElement VALUE_OBJ_CLASS_SPEC {
public:
u2 name_cp_index;
- // This has to happen, otherwise it will cause SIGBUS from a
- // misaligned u4 on some architectures (ie SPARC)
- // because MethodParametersElements are only aligned mod 2
- // within the ConstMethod container u2 flags_hi;
- u2 flags_hi;
- u2 flags_lo;
+ u2 flags;
};
class KlassSizeStats;