From bfa3c05994aab9f2fed251b4cbabb5912d1d894c Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 28 Apr 2011 13:14:25 -0700 Subject: [PATCH] Log refcounts in upcall_vec_grow. --- src/rt/rust_upcall.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 9178aac2d30..5cfd384791e 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -401,10 +401,10 @@ upcall_vec_grow(rust_task *task, LOG_UPCALL_ENTRY(task); rust_dom *dom = task->dom; LOG(task, mem, - "upcall vec_grow(0x%" PRIxPTR ", %" PRIdPTR - "), alloc=%" PRIdPTR ", fill=%" PRIdPTR - ", need_copy=0x%" PRIxPTR, - v, n_bytes, v->alloc, v->fill, need_copy); + "upcall vec_grow(0x%" PRIxPTR ", %" PRIdPTR + "), rc=%" PRIdPTR " alloc=%" PRIdPTR ", fill=%" PRIdPTR + ", need_copy=0x%" PRIxPTR, + v, n_bytes, v->ref_count, v->alloc, v->fill, need_copy); *need_copy = 0; size_t alloc = next_power_of_two(sizeof(rust_vec) + v->fill + n_bytes);