Mercurial > hg > truffle
comparison src/share/vm/services/memSnapshot.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 | ecd24264898b |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
10126:63e31ce40bdb | 10127:b80cc96882f7 |
---|---|
306 assert(!(ret && FLAGS_TO_MEMORY_TYPE(p1->flags()) == mtThreadStack), "dup on stack record"); | 306 assert(!(ret && FLAGS_TO_MEMORY_TYPE(p1->flags()) == mtThreadStack), "dup on stack record"); |
307 return ret; | 307 return ret; |
308 } | 308 } |
309 }; | 309 }; |
310 | 310 |
311 class StagingArea : public _ValueObj { | 311 class StagingArea VALUE_OBJ_CLASS_SPEC { |
312 private: | 312 private: |
313 MemPointerArray* _malloc_data; | 313 MemPointerArray* _malloc_data; |
314 MemPointerArray* _vm_data; | 314 MemPointerArray* _vm_data; |
315 | 315 |
316 public: | 316 public: |