-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/365/
-----------------------------------------------------------

(Updated 2011-01-03 12:56:11.143277)


Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and Nathan 
Binkert.


Summary
-------

RefCount: Add a unit test for reference counting pointers.

This test exercises each of the functions in the reference counting pointer
implementation individually (except get()) and verifies they have some
minimially expected behavior. It also checks that reference counted objects
are freed when their usage count goes to 0 in some basic situations,
specifically a pointer being set to NULL and a pointer being deleted.


Diffs (updated)
-----

  src/unittest/SConscript 3a790012d6ed 
  src/unittest/refcnttest.cc PRE-CREATION 

Diff: http://reviews.m5sim.org/r/365/diff


Testing
-------


Thanks,

Gabe

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to