Re: How to benchmark memory managers?
Matthew Hertz <[email protected]> Mon, 10 Jan 2005 16:21:20 -0500
| Newsgroups | gmane.comp.programming.garbage-collection.general |
|---|---|
| Message-ID | <[email protected]> |
> the cost of free only equals the cost of explicit memory management if > none of the objects ever had shared ownership. Otherwise there is some > mechanism being hidden by the oracle that is not being accounted for. While you are correct that these sharing costs can add substantial overheads, the Jikes RVM already performs all of the locking and other work needed to support its multi-threaded design. Because these maintained outside of the memory management routines (and were already included in both sets of numbers), we did not burden the explicit memory managers with a duplicative analysis to handle sharing of objects. Matthew Hertz [email protected]