Ticket #1605 (closed patch: fixed)
Documentation for buffers in include/parrot/pobj.h is outdated.
Reported by: | bacek | Owned by: | Paul C. Anagnostopoulos |
---|---|---|---|
Priority: | major | Milestone: | 2.6 |
Component: | core | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | new | Platform: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.