#1603: ACTIVE_BUFFERS “leak”
--------------------+-------------------------------------------------------
 Reporter:  coke    |       Owner:       
     Type:  bug     |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  GC      |     Version:  trunk
 Severity:  medium  |    Keywords:       
     Lang:          |       Patch:       
 Platform:          |  
--------------------+-------------------------------------------------------
Description changed by coke:

Old description:

> See the attached file - against trunk, it creates 1000 codestrings in a
> loop and throws them away. Here's the output:
>
> {{{
> @ START
>     TOTAL_MEM_ALLOC............: 262144
>     ACTIVE_PMCS................: 914
>     ACTIVE_BUFFERS.............: 218
>     TOTAL_PMCS.................: 1024
>     TOTAL_BUFFERS..............: 1137
>     HEADER_ALLOCS_SINCE_COLLECT: 0
>     MEM_ALLOCS_SINCE_COLLECT...: 0
>     TOTAL_COPIED...............: 5136
>     IMPATIENT_PMCS.............: 0
> @ POST LOOP
>     TOTAL_MEM_ALLOC............: 262144
>     ACTIVE_PMCS................: 917
>     ACTIVE_BUFFERS.............: 4151
>     TOTAL_PMCS.................: 7168
>     TOTAL_BUFFERS..............: 4548
>     HEADER_ALLOCS_SINCE_COLLECT: 0
>     MEM_ALLOCS_SINCE_COLLECT...: 0
>     TOTAL_COPIED...............: 40112
>     IMPATIENT_PMCS.............: 0
> @ END
>     TOTAL_MEM_ALLOC............: 262144
>     ACTIVE_PMCS................: 917
>     ACTIVE_BUFFERS.............: 152
>     TOTAL_PMCS.................: 7168
>     TOTAL_BUFFERS..............: 4548
>     HEADER_ALLOCS_SINCE_COLLECT: 0
>     MEM_ALLOCS_SINCE_COLLECT...: 0
>     TOTAL_COPIED...............: 43104
>     IMPATIENT_PMCS.............: 0
> }}}
>
> Note the ACTIVE_BUFFER output ; Looks like something is handing onto
> these headers a bit too long, but running another sweep makes them go
> away?

New description:

 See the attached file - against trunk, it creates 1000 codestrings in a
 loop and throws them away. Here's the output:

 {{{
 @ START
     TOTAL_MEM_ALLOC............: 262144
     ACTIVE_PMCS................: 914
     ACTIVE_BUFFERS.............: 218
     TOTAL_PMCS.................: 1024
     TOTAL_BUFFERS..............: 1137
     HEADER_ALLOCS_SINCE_COLLECT: 0
     MEM_ALLOCS_SINCE_COLLECT...: 0
     TOTAL_COPIED...............: 5136
     IMPATIENT_PMCS.............: 0
 @ POST LOOP
     TOTAL_MEM_ALLOC............: 262144
     ACTIVE_PMCS................: 917
     ACTIVE_BUFFERS.............: 4151
     TOTAL_PMCS.................: 7168
     TOTAL_BUFFERS..............: 4548
     HEADER_ALLOCS_SINCE_COLLECT: 0
     MEM_ALLOCS_SINCE_COLLECT...: 0
     TOTAL_COPIED...............: 40112
     IMPATIENT_PMCS.............: 0
 @ END
     TOTAL_MEM_ALLOC............: 262144
     ACTIVE_PMCS................: 917
     ACTIVE_BUFFERS.............: 152
     TOTAL_PMCS.................: 7168
     TOTAL_BUFFERS..............: 4548
     HEADER_ALLOCS_SINCE_COLLECT: 0
     MEM_ALLOCS_SINCE_COLLECT...: 0
     TOTAL_COPIED...............: 43104
     IMPATIENT_PMCS.............: 0
 }}}

 Note the ACTIVE_BUFFER output ; Looks like something is hanging onto these
 headers a bit too long, but running another sweep makes them go away?

--

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1603#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to