--- old/src/share/vm/oops/methodData.hpp 2013-09-13 16:51:06.000000000 -0700 +++ new/src/share/vm/oops/methodData.hpp 2013-09-13 16:51:06.000000000 -0700 @@ -72,6 +72,8 @@ // // Overlay for generic profiling data. class DataLayout VALUE_OBJ_CLASS_SPEC { + friend class VMStructs; + private: // Every data layout begins with a header. This header // contains a tag, which is used to indicate the size/layout