aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-04-28 13:14:25 -0700
committerGraydon Hoare <[email protected]>2011-04-28 13:26:19 -0700
commitbfa3c05994aab9f2fed251b4cbabb5912d1d894c (patch)
tree6bda77e612a0db76ab65e4b0f0cb523cc0de9bfb
parentEnable typestate_check (diff)
downloadrust-bfa3c05994aab9f2fed251b4cbabb5912d1d894c.tar.xz
rust-bfa3c05994aab9f2fed251b4cbabb5912d1d894c.zip
Log refcounts in upcall_vec_grow.
-rw-r--r--src/rt/rust_upcall.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 9178aac2..5cfd3847 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);