< prev index next >

src/share/vm/gc/cms/promotionInfo.hpp

Print this page
rev 8978 : imported patch remove_err_msg

@@ -71,11 +71,11 @@
       // The next pointer is a compressed oop stored in the top 32 bits
       res = (PromotedObject*)oopDesc::decode_heap_oop(_data._narrow_next);
     } else {
       res = (PromotedObject*)(_next & next_mask);
     }
-    assert(oop(res)->is_oop_or_null(true /* ignore mark word */), err_msg("Expected an oop or NULL at " PTR_FORMAT, p2i(oop(res))));
+    assert(oop(res)->is_oop_or_null(true /* ignore mark word */), "Expected an oop or NULL at " PTR_FORMAT, p2i(oop(res)));
     return res;
   }
   inline void setNext(PromotedObject* x) {
     assert(((intptr_t)x & ~next_mask) == 0, "Conflict in bit usage, "
            "or insufficient alignment of objects");
< prev index next >