Ravenbrook / Projects / Memory Pool System / Issues


MPS issue job001887

Title:MPS mps_arena_committed() is wrong when using mps_arena_class_cl (client arena)
Status:open
Priority:optional
Assigned user:Richard Brooksby
Organization:Ravenbrook
Description:MPS mps_arena_committed() is wrong when using mps_arena_class_cl (client arena)

RHSK 2008-08-06
(See gc2.c#3 in Evidence)
When using mps_arena_class_cl (client arena), mps_arena_committed()
returns an incorrect value. The value is fixed (may be approximately
16KB). The value does not change, regardless of how much memory the
client allocates.
Analysis:RHSK 2008-08-06
It is not clear how _committed, _spare_committed, and _reserved should
behave in a client arena. Client arenas do not in fact reserve or
commit pages. This needs discussion.

However, it is clearly incorrect behaviour for _committed to return
this incorrect value.
How found:unknown
Evidence:http:/​/​info.ravenbrook.com/​project/​mps/​branch/​2007-09-27/​awldiag/​example/​gc/​g...
Observed in:1.108.2
Created by:Richard Kistruck
Created on:2008‑08‑06 13:34:10
Last modified by:Gareth Rees
Last modified on:2013‑03‑19 11:55:28
History:2008-08-06 RHSK Created.
2013-03-19 GDR Assigned to RB.

Generated at 2013-05-21 20:38:56 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#476 $

Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may not duplicate or reproduce this document in any form without the express permission of the copyright holder.

Ravenbrook / Projects / Memory Pool System / Issues