src/share/vm/services/memRecorder.hpp

changeset 4193
716c64bda5ba
parent 3994
e5bf1c79ed5b
child 4400
ecd24264898b
     1.1 --- a/src/share/vm/services/memRecorder.hpp	Thu Oct 18 13:09:47 2012 -0400
     1.2 +++ b/src/share/vm/services/memRecorder.hpp	Fri Oct 19 21:40:07 2012 -0400
     1.3 @@ -188,6 +188,7 @@
     1.4    // Test if the two records are the same kind: the same memory block and allocation
     1.5    // type.
     1.6    inline bool same_kind(const MemPointerRecord* p1, const MemPointerRecord* p2) const {
     1.7 +    assert(!p1->is_vm_pointer() && !p2->is_vm_pointer(), "malloc pointer only");
     1.8      return (p1->addr() == p2->addr() &&
     1.9        (p1->flags() &MemPointerRecord::tag_masks) ==
    1.10        (p2->flags() & MemPointerRecord::tag_masks));

mercurial