!RBIX 12529030924842180271 x M 1 n n x 10 __script__ i 54 5 45 0 1 7 2 64 65 49 3 0 49 4 2 47 49 5 1 15 99 7 6 45 7 8 43 9 43 10 65 49 11 3 13 99 12 7 12 12 7 13 12 65 12 49 14 4 15 49 12 0 15 2 11 I 6 I 0 I 0 I 0 n p 15 x 4 File n s 14 ../test_helper x 11 active_path x 11 expand_path x 7 require x 18 TestReferenceQueue x 4 Test n x 4 Unit x 8 TestCase x 10 open_class x 14 __class_init__ M 1 n n x 18 TestReferenceQueue i 72 5 66 99 7 0 7 1 65 67 49 2 0 49 3 4 15 99 7 4 7 5 65 67 49 2 0 49 3 4 15 99 7 6 7 7 65 67 49 2 0 49 3 4 15 99 7 8 7 9 65 67 49 2 0 49 3 4 15 99 7 10 7 11 65 67 49 2 0 49 3 4 11 I 5 I 0 I 0 I 0 n p 12 x 23 test_can_add_references M 1 n n x 23 test_can_add_references i 251 45 0 1 43 2 13 71 3 47 9 23 47 49 4 0 13 47 49 5 0 15 8 26 49 3 0 19 0 15 45 0 6 43 7 13 71 3 47 9 76 47 49 4 0 13 45 8 9 13 71 3 47 9 66 47 49 4 0 13 47 49 5 0 15 8 69 49 3 0 47 49 5 1 15 8 103 45 8 10 13 71 3 47 9 97 47 49 4 0 13 47 49 5 0 15 8 100 49 3 0 49 3 1 19 1 15 45 0 11 43 7 13 71 3 47 9 153 47 49 4 0 13 45 8 12 13 71 3 47 9 143 47 49 4 0 13 47 49 5 0 15 8 146 49 3 0 47 49 5 1 15 8 180 45 8 13 13 71 3 47 9 174 47 49 4 0 13 47 49 5 0 15 8 177 49 3 0 49 3 1 19 2 15 5 20 0 49 14 0 47 49 15 1 15 5 78 20 0 49 16 0 47 49 17 2 15 20 0 20 1 49 18 1 15 20 0 20 2 49 18 1 15 5 20 0 49 14 0 10 233 2 8 234 3 47 49 15 1 15 5 80 20 0 49 16 0 47 49 17 2 11 I 7 I 3 I 0 I 0 n p 19 x 3 Ref n x 14 ReferenceQueue x 3 new x 8 allocate x 10 initialize n x 13 WeakReference x 6 Object n n n n n x 6 empty? x 6 assert x 4 size x 12 assert_equal x 4 push p 21 I -1 I 4 I 0 I 5 I 1d I 6 I 6a I 7 I b7 I 8 I c2 I 9 I ce I a I d6 I b I de I c I ef I d I fb x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 3 x 5 queue x 5 ref_1 x 5 ref_2 x 17 method_visibility x 15 add_defn_method x 37 test_can_remove_references_as_a_queue M 1 n n x 37 test_can_remove_references_as_a_queue i 236 45 0 1 43 2 13 71 3 47 9 23 47 49 4 0 13 47 49 5 0 15 8 26 49 3 0 19 0 15 45 0 6 43 7 13 71 3 47 9 76 47 49 4 0 13 45 8 9 13 71 3 47 9 66 47 49 4 0 13 47 49 5 0 15 8 69 49 3 0 47 49 5 1 15 8 103 45 8 10 13 71 3 47 9 97 47 49 4 0 13 47 49 5 0 15 8 100 49 3 0 49 3 1 19 1 15 45 0 11 43 7 13 71 3 47 9 153 47 49 4 0 13 45 8 12 13 71 3 47 9 143 47 49 4 0 13 47 49 5 0 15 8 146 49 3 0 47 49 5 1 15 8 180 45 8 13 13 71 3 47 9 174 47 49 4 0 13 47 49 5 0 15 8 177 49 3 0 49 3 1 19 2 15 20 0 20 1 49 14 1 15 20 0 20 2 49 14 1 15 5 20 1 20 0 49 15 0 47 49 16 2 15 5 20 2 20 0 49 15 0 47 49 16 2 15 5 20 0 49 15 0 47 49 17 1 11 I 7 I 3 I 0 I 0 n p 18 x 3 Ref n x 14 ReferenceQueue x 3 new x 8 allocate x 10 initialize n x 13 WeakReference x 6 Object n n n n n x 4 push x 5 shift x 12 assert_equal x 10 assert_nil p 19 I -1 I 10 I 0 I 11 I 1d I 12 I 6a I 13 I b7 I 14 I bf I 15 I c7 I 16 I d4 I 17 I e1 I 18 I ec x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 3 x 5 queue x 5 ref_1 x 5 ref_2 x 37 test_can_remove_references_as_a_stack M 1 n n x 37 test_can_remove_references_as_a_stack i 236 45 0 1 43 2 13 71 3 47 9 23 47 49 4 0 13 47 49 5 0 15 8 26 49 3 0 19 0 15 45 0 6 43 7 13 71 3 47 9 76 47 49 4 0 13 45 8 9 13 71 3 47 9 66 47 49 4 0 13 47 49 5 0 15 8 69 49 3 0 47 49 5 1 15 8 103 45 8 10 13 71 3 47 9 97 47 49 4 0 13 47 49 5 0 15 8 100 49 3 0 49 3 1 19 1 15 45 0 11 43 7 13 71 3 47 9 153 47 49 4 0 13 45 8 12 13 71 3 47 9 143 47 49 4 0 13 47 49 5 0 15 8 146 49 3 0 47 49 5 1 15 8 180 45 8 13 13 71 3 47 9 174 47 49 4 0 13 47 49 5 0 15 8 177 49 3 0 49 3 1 19 2 15 20 0 20 1 49 14 1 15 20 0 20 2 49 14 1 15 5 20 2 20 0 49 15 0 47 49 16 2 15 5 20 1 20 0 49 15 0 47 49 16 2 15 5 20 0 49 15 0 47 49 17 1 11 I 7 I 3 I 0 I 0 n p 18 x 3 Ref n x 14 ReferenceQueue x 3 new x 8 allocate x 10 initialize n x 13 WeakReference x 6 Object n n n n n x 4 push x 3 pop x 12 assert_equal x 10 assert_nil p 19 I -1 I 1b I 0 I 1c I 1d I 1d I 6a I 1e I b7 I 1f I bf I 20 I c7 I 21 I d4 I 22 I e1 I 23 I ec x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 3 x 5 queue x 5 ref_1 x 5 ref_2 x 60 test_references_are_added_when_the_object_has_been_collected M 1 n n x 60 test_references_are_added_when_the_object_has_been_collected i 11 45 0 1 43 2 56 3 50 4 0 11 I 2 I 0 I 0 I 0 n p 5 x 3 Ref n x 4 Mock M 1 p 2 x 9 for_block t n x 60 test_references_are_added_when_the_object_has_been_collected i 132 45 0 1 13 71 2 47 9 21 47 49 3 0 13 47 49 4 0 15 8 24 49 2 0 19 0 15 45 5 6 43 7 13 71 2 47 9 52 47 49 3 0 13 20 0 47 49 4 1 15 8 57 20 0 49 2 1 19 1 15 45 5 8 43 9 13 71 2 47 9 83 47 49 3 0 13 47 49 4 0 15 8 86 49 2 0 19 2 15 20 2 20 1 49 10 1 15 5 20 2 49 11 0 47 49 12 1 15 45 5 13 43 14 20 0 49 15 1 15 5 20 1 20 2 49 11 0 47 49 16 2 11 I 7 I 3 I 0 I 0 I -2 p 17 x 6 Object n x 3 new x 8 allocate x 10 initialize x 3 Ref n x 13 WeakReference n x 14 ReferenceQueue x 7 monitor x 5 shift x 10 assert_nil n x 4 Mock x 2 gc x 12 assert_equal p 15 I 0 I 28 I 1b I 29 I 3c I 2a I 59 I 2b I 61 I 2c I 6c I 2d I 77 I 2e I 84 x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 3 x 3 obj x 3 ref x 5 queue x 3 use p 5 I -1 I 26 I 0 I 27 I b x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 0 x 70 test_references_are_added_immediately_if_the_object_has_been_collected M 1 n n x 70 test_references_are_added_immediately_if_the_object_has_been_collected i 11 45 0 1 43 2 56 3 50 4 0 11 I 2 I 0 I 0 I 0 n p 5 x 3 Ref n x 4 Mock M 1 p 2 x 9 for_block t n x 70 test_references_are_added_immediately_if_the_object_has_been_collected i 121 45 0 1 13 71 2 47 9 21 47 49 3 0 13 47 49 4 0 15 8 24 49 2 0 19 0 15 45 5 6 43 7 13 71 2 47 9 52 47 49 3 0 13 20 0 47 49 4 1 15 8 57 20 0 49 2 1 19 1 15 45 5 8 43 9 20 0 49 10 1 15 45 5 11 43 12 13 71 2 47 9 94 47 49 3 0 13 47 49 4 0 15 8 97 49 2 0 19 2 15 20 2 20 1 49 13 1 15 5 20 1 20 2 49 14 0 47 49 15 2 11 I 7 I 3 I 0 I 0 I -2 p 16 x 6 Object n x 3 new x 8 allocate x 10 initialize x 3 Ref n x 13 WeakReference n x 4 Mock x 2 gc n x 14 ReferenceQueue x 7 monitor x 5 shift x 12 assert_equal p 13 I 0 I 34 I 1b I 35 I 3c I 36 I 47 I 37 I 64 I 38 I 6c I 39 I 79 x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 3 x 3 obj x 3 ref x 5 queue x 3 use p 5 I -1 I 32 I 0 I 33 I b x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 0 p 11 I 2 I 4 I 10 I 10 I 1e I 1b I 2c I 26 I 3a I 32 I 48 x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 0 x 13 attach_method p 5 I 0 I 1 I 13 I 3 I 36 x 60 /Users/bdurand/dev/projects/ref/test/reference_queue_test.rb p 0