src/share/vm/oops/constMethod.hpp
Print this page
*** 120,135 ****
// Utility class describing elements in method parameters
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;
};
class ConstMethod : public MetaspaceObj {
friend class VMStructs;
--- 120,130 ----
// Utility class describing elements in method parameters
class MethodParametersElement VALUE_OBJ_CLASS_SPEC {
public:
u2 name_cp_index;
! u2 flags;
};
class ConstMethod : public MetaspaceObj {
friend class VMStructs;