cfad47cfa3/t3compiler/tads3/test/log/finalize.log

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
	symbol_export finalize.t -> finalize.t3s
2
	compile finalize.t -> finalize.t3o
3
	link -> finalize.t3
4
5
(T3VM) Memory blocks still in use:
6
7
Total blocks in use: 0
8
This is obj1.construct - id == 1
9
This is obj1.construct - id == 2
10
This is obj1.construct - id == 3
11
This is obj1.construct - id == 4
12
This is obj1.construct - id == 5
13
This is obj1.construct - id == 6
14
This is obj1.construct - id == 7
15
This is obj1.construct - id == 8
16
This is obj1.construct - id == 9
17
This is obj1.construct - id == 10
18
running garbage collection:  should delete objects 1 - 9...
19
This is obj1.finalize - id = 1
20
This is obj1.finalize - id = 2
21
This is obj1.finalize - id = 3
22
This is obj1.finalize - id = 4
23
This is obj1.finalize - id = 5
24
-- Storing a reference to 'self' in obj2.objptr
25
This is obj1.finalize - id = 6
26
This is obj1.finalize - id = 7
27
This is obj1.finalize - id = 8
28
This is obj1.finalize - id = 9
29
done running garbage collection!
30
running gc again:  should delete object 10...
31
This is obj1.finalize - id = 10
32
done running gc again!
33
Make sure obj2.objptr is still valid - obj2.objptr.id_ = 5
34
- id = 4083, gc state = 513
35
Creating obj3
36
running gc:  should delete obj3...
37
This is obj3.finalize - setting self.objptr = new obj4
38
done running gc
39
running gc:  should delete obj4...
40
This is obj4.finalize
41
done running gc
42
clearing obj2.objptr; running gc:  should delete object id = 5...
43
- id = 4083, gc state = 513
44
done running gc
45
- id = 4083, gc state = 512
46
47
(T3VM) Memory blocks still in use:
48
49
Total blocks in use: 0