Please gimme this back

What you should get when testing my Garbage Collector is:

[MM] Heap initialized. uheap = 2792B; mheap = 2094360B.
[MM] Heap freed. 2097152B freed.
[MM] Heap initialized. uheap = 2792B; mheap = 2094360B.
[MM] Managed heap decreased to 2 by 2094358, preserving 0 freespace.
[MM] Managed heap increased by 100 to 102.
[MM] Managed heap increased by 100 to 202.
[MM] Managed heap decreased to 42 by 160, preserving 40 freespace.
[MM] Managed heap increased by 2097152 to 2097194.
Generation 0 (8053ae8-8053ae8 0)
Generation 1 (8053ae8-8053ae8 0)
Generation 2 (8053ae8-8053ae8 0)
Generation 3 (8053ae8-8053ae8 0)
Generation 4 (8053ae8-8053ae8 0)
Generation 5 (8053ae8-8053ae8 0)
Generation 6 (8053ae8-8053ae8 0)
Generation 7 (8053ae8-8253b12 2097194)
8053ae8 reserved type-tree leaf size 1028 (2)
8053eec reserved unmanaged pointer list size 1032 (2)
80542f4 allocation white typed typesize 1 size 10
80542fe allocation white untyped sizesize 1 size 22
8054314 allocation white typed typesize 1 size 10
805431e allocation white typed typesize 1 size 102
8054384 allocation white typed typesize 1 size 10
805438e allocation white typed typesize 1 size 10
8054398 allocation white typed typesize 1 size 10
80543a2 freespace index 0 (1) entry 8053048 .ptr 80543a2 .size 2094960

Unmanaged heap usage 2792
Managed heap usage 2097194
Allocations 160
Reserved internal data 2054
type-tree node 0
type-tree leaf 1025
freeblock-tree node 0
freeblock-tree leaf 0
unmanaged pointer list 1029
fixed other 0
fixed external 0
Headers 22
Allocable freespace 2094958
Uncollected freespace 0

Total memory usage 2099986
[MM] Managed heap decreased to 2236 by 2094958, preserving 0 freespace.
[GC] Entered GC. mheap=2236
[GC MM] Increased gc_heap by 2097152 to 2097152.
[GC] Exited GC. mheap=2099388; time=0ms
[MM] Managed heap increased by 100 to 2099488.
[MM] Managed heap decreased to 2236 by 2097252, preserving 0 freespace.
[MM] Managed heap increased by 100 to 2336.
Generation 0 (8053ae8-8053ae8 0)
Generation 1 (8053ae8-8053ae8 0)
Generation 2 (8053ae8-8053ae8 0)
Generation 3 (8053ae8-8053ae8 0)
Generation 4 (8053ae8-8053ae8 0)
Generation 5 (8053ae8-8053ae8 0)
Generation 6 (8053ae8-8053ae8 0)
Generation 7 (8053ae8-8054408 2336)
8053ae8 reserved type-tree leaf size 1028 (2)
8053eec freespace index 1 (1) entry 8053050 .ptr 8053eec .size 1032
80542f4 allocation white typed typesize 1 size 10
80542fe allocation black untyped sizesize 1 size 22
8054314 allocation black typed typesize 1 size 10
805431e allocation white typed typesize 1 size 102
8054384 allocation black typed typesize 1 size 10
805438e allocation white typed typesize 1 size 10
8054398 allocation black typed typesize 1 size 10
80543a2 freespace index 0 (1) entry 8053048 .ptr 80543a2 .size 102

Unmanaged heap usage 2792
Managed heap usage 2336
Allocations 160
Reserved internal data 1025
type-tree node 0
type-tree leaf 1025
freeblock-tree node 0
freeblock-tree leaf 0
unmanaged pointer list 0
fixed other 0
fixed external 0
Headers 21
Allocable freespace 100
Uncollected freespace 1030

Total memory usage 5128
[MM] Heap freed. 5128B freed.

With some variation when running on 64bit instead of 32bit.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: