Mercurial > hg > graal-jvmci-8
diff src/share/vm/services/memPtr.hpp @ 10127:b80cc96882f7
8012464: NMT: classes should not derive from _ValueObj, use VALUE_OBJ_CLASS_SPEC instead
Summary: NMT value objects should use VALUE_OBJ_CLASS_SPEC instead of deriving from _ValueObj
Reviewed-by: coleenp, hseigel, dholmes
author | zgu |
---|---|
date | Thu, 18 Apr 2013 10:04:44 -0400 |
parents | 4102b59539ce |
children | 1f4355cee9a2 |
line wrap: on
line diff
--- a/src/share/vm/services/memPtr.hpp Wed Apr 17 08:20:02 2013 -0400 +++ b/src/share/vm/services/memPtr.hpp Thu Apr 18 10:04:44 2013 -0400 @@ -89,7 +89,7 @@ * the memory pointer either points to a malloc'd * memory block, or a mmap'd memory block */ -class MemPointer : public _ValueObj { +class MemPointer VALUE_OBJ_CLASS_SPEC { public: MemPointer(): _addr(0) { } MemPointer(address addr): _addr(addr) { }