#1605: Documentation for buffers in include/parrot/pobj.h is outdated.
--------------------+-------------------------------------------------------
Reporter: bacek | Owner:
Type: cage | Status: new
Priority: major | Milestone: 2.6
Component: docs | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Hello.
After merging compact_pool_revamp branch documentation in pobj.h and
gc/alloc_resources.c doesn't reflect reality anymore and require major
update.
Basically storage header consists of 3 fields:
- Pointer to Memory_Block* from which it was allocated.
- Buffer_moved_FLAG - set to 1 during compacting when we move shared
buffer
- Buffer_shared_FLAG - set to 1 when we share storage between different
STRINGs. (Replacement for old PObj_COW_FLAG)
My Englsih-fu is weak for this task but I'll be able to answer questions
on IRC or ticket.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1605>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets