Garbage collector collects live objects

Ruslan Mullakhmetov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 10 05:03:21 PST 2014


On Wednesday, 10 December 2014 at 12:52:24 UTC, Ruslan 
Mullakhmetov wrote:
>
> why and how this happens? can anybody explain it to me?

I tried to extract this and saw NO NO_SCAN attrs after moving blk:


the following piece of output produced by 
http://dpaste.dzfl.pl/6f773e17de92

len: 99996 ptr: 109DF0010 root: 109DF0000:1048576 attr: APPENDABLE
len: 99997 ptr: 109DF0010 root: 109DF0000:1048576 attr: APPENDABLE
len: 99998 ptr: 109DF0010 root: 109DF0000:1048576 attr: APPENDABLE
len: 99999 ptr: 109DF0010 root: 109DF0000:1048576 attr: APPENDABLE
len: 100000 ptr: 109DF0010 root: 109DF0000:1048576 attr: 
APPENDABLE
--- shrinked --
len: 1 ptr: 109EB3508 root: 109DF0000:1048576 attr: APPENDABLE
len: 2 ptr: 109EB3508 root: 109DF0000:1048576 attr: APPENDABLE
len: 3 ptr: 109EB3508 root: 109DF0000:1048576 attr: APPENDABLE
len: 4 ptr: 109EB3508 root: 109DF0000:1048576 attr: APPENDABLE
len: 5 ptr: 109EB3508 root: 109DF0000:1048576 attr: APPENDABLE
len: 6 ptr: 109F60640 root: 109F60640:64 attr: APPENDABLE
len: 7 ptr: 109F60640 root: 109F60640:64 attr: APPENDABLE


More information about the Digitalmars-d-learn mailing list