spacepaste

  1.  
  2. ============================= test session starts ==============================
  3. platform win32 -- Python 2.7.6 -- pytest-2.2.4.dev2 -- D:\python\Python27\python.exe
  4. pytest-2.2.4.dev2 from E:\Projects\pypy\pypy\pytest.pyc
  5. collecting ... collected 544 items
  6. rpython\memory\test\test_gctypelayout.py:37: test_struct PASSED
  7. rpython\memory\test\test_gctypelayout.py:41: test_layout_builder PASSED
  8. rpython\memory\test\test_gctypelayout.py:53: test_layout_builder_with_vtable PASSED
  9. rpython\memory\test\test_gctypelayout.py:70: test_constfold PASSED
  10. rpython\memory\test\test_gctypelayout.py:96: test_gc_pointers_inside PASSED
  11. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:49: TestGenerationalGC.test_llinterp_lists PASSED
  12. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:64: TestGenerationalGC.test_llinterp_tuples PASSED
  13. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:80: TestGenerationalGC.test_global_list PASSED
  14. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:91: TestGenerationalGC.test_string_concatenation PASSED
  15. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:103: TestGenerationalGC.test_collect PASSED
  16. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:118: TestGenerationalGC.test_collect_0 PASSED
  17. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:133: TestGenerationalGC.test_finalizer PASSED
  18. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:157: TestGenerationalGC.test_finalizer_calls_malloc PASSED
  19. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:185: TestGenerationalGC.test_finalizer_calls_collect PASSED
  20. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:210: TestGenerationalGC.test_finalizer_resurrects PASSED
  21. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:240: TestGenerationalGC.test_custom_trace PASSED
  22. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:280: TestGenerationalGC.test_weakref PASSED
  23. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:301: TestGenerationalGC.test_weakref_to_object_with_finalizer PASSED
  24. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:321: TestGenerationalGC.test_bug_1 PASSED
  25. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:340: TestGenerationalGC.test_cycle_with_weakref_and_del PASSED
  26. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:369: TestGenerationalGC.test_weakref_to_object_with_finalizer_ordering PASSED
  27. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:405: TestGenerationalGC.test_weakref_bug_1 PASSED
  28. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:428: TestGenerationalGC.test_id PASSED
  29. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:447: TestGenerationalGC.test_finalizer_calls_malloc_during_minor_collect PASSED
  30. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:481: TestGenerationalGC.test_collect_during_collect PASSED
  31. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:518: TestGenerationalGC.test_print_leak PASSED
  32. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:526: TestGenerationalGC.test_weakref_across_minor_collection PASSED
  33. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:546: TestGenerationalGC.test_young_weakref_to_old_object PASSED
  34. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:569: TestGenerationalGC.test_weakref_to_prebuilt PASSED
  35. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:582: TestGenerationalGC.test_many_weakrefs PASSED
  36. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:597: TestGenerationalGC.test_nongc_static_root PASSED
  37. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:611: TestGenerationalGC.test_can_move PASSED
  38. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:618: TestGenerationalGC.test_malloc_nonmovable PASSED
  39. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:629: TestGenerationalGC.test_malloc_nonmovable_fixsize PASSED
  40. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:645: TestGenerationalGC.test_shrink_array PASSED
  41. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:670: TestGenerationalGC.test_tagged_simple PASSED
  42. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:690: TestGenerationalGC.test_tagged_prebuilt PASSED
  43. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:710: TestGenerationalGC.test_tagged_id PASSED
  44. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:736: TestGenerationalGC.test_writebarrier_before_copy PASSED
  45. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:756: TestGenerationalGC.test_stringbuilder PASSED
  46. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:771: TestGenerationalGC.test_gcflag_extra PASSED
  47. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\gc_test_base.py:795: TestGenerationalGC.test_pinning PASSED
  48. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\snippet.py:116: TestGenerationalGC.test_finalizer_order PASSED
  49. rpython/memory/test/test_generational_gc.py <- rpython\memory\test\snippet.py:160: TestGenerationalGC.test_from_objwithfinalizer_to_youngobj PASSED
  50. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:49: TestGrowingSemiSpaceGC.test_llinterp_lists PASSED
  51. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:64: TestGrowingSemiSpaceGC.test_llinterp_tuples PASSED
  52. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:80: TestGrowingSemiSpaceGC.test_global_list PASSED
  53. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:91: TestGrowingSemiSpaceGC.test_string_concatenation PASSED
  54. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:103: TestGrowingSemiSpaceGC.test_collect PASSED
  55. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:118: TestGrowingSemiSpaceGC.test_collect_0 PASSED
  56. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:133: TestGrowingSemiSpaceGC.test_finalizer PASSED
  57. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:157: TestGrowingSemiSpaceGC.test_finalizer_calls_malloc PASSED
  58. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:185: TestGrowingSemiSpaceGC.test_finalizer_calls_collect PASSED
  59. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:210: TestGrowingSemiSpaceGC.test_finalizer_resurrects PASSED
  60. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:240: TestGrowingSemiSpaceGC.test_custom_trace PASSED
  61. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:280: TestGrowingSemiSpaceGC.test_weakref PASSED
  62. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:301: TestGrowingSemiSpaceGC.test_weakref_to_object_with_finalizer PASSED
  63. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:321: TestGrowingSemiSpaceGC.test_bug_1 PASSED
  64. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:340: TestGrowingSemiSpaceGC.test_cycle_with_weakref_and_del PASSED
  65. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:369: TestGrowingSemiSpaceGC.test_weakref_to_object_with_finalizer_ordering PASSED
  66. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:405: TestGrowingSemiSpaceGC.test_weakref_bug_1 PASSED
  67. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:428: TestGrowingSemiSpaceGC.test_id PASSED
  68. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:447: TestGrowingSemiSpaceGC.test_finalizer_calls_malloc_during_minor_collect PASSED
  69. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:481: TestGrowingSemiSpaceGC.test_collect_during_collect PASSED
  70. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:518: TestGrowingSemiSpaceGC.test_print_leak PASSED
  71. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:526: TestGrowingSemiSpaceGC.test_weakref_across_minor_collection PASSED
  72. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:546: TestGrowingSemiSpaceGC.test_young_weakref_to_old_object PASSED
  73. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:569: TestGrowingSemiSpaceGC.test_weakref_to_prebuilt PASSED
  74. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:582: TestGrowingSemiSpaceGC.test_many_weakrefs PASSED
  75. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:597: TestGrowingSemiSpaceGC.test_nongc_static_root PASSED
  76. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:611: TestGrowingSemiSpaceGC.test_can_move PASSED
  77. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:618: TestGrowingSemiSpaceGC.test_malloc_nonmovable PASSED
  78. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:629: TestGrowingSemiSpaceGC.test_malloc_nonmovable_fixsize PASSED
  79. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:645: TestGrowingSemiSpaceGC.test_shrink_array PASSED
  80. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:670: TestGrowingSemiSpaceGC.test_tagged_simple PASSED
  81. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:690: TestGrowingSemiSpaceGC.test_tagged_prebuilt PASSED
  82. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:710: TestGrowingSemiSpaceGC.test_tagged_id PASSED
  83. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:736: TestGrowingSemiSpaceGC.test_writebarrier_before_copy PASSED
  84. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:756: TestGrowingSemiSpaceGC.test_stringbuilder PASSED
  85. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:771: TestGrowingSemiSpaceGC.test_gcflag_extra PASSED
  86. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\gc_test_base.py:795: TestGrowingSemiSpaceGC.test_pinning PASSED
  87. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\snippet.py:116: TestGrowingSemiSpaceGC.test_finalizer_order PASSED
  88. rpython/memory/test/test_growingsemispace_gc.py <- rpython\memory\test\snippet.py:160: TestGrowingSemiSpaceGC.test_from_objwithfinalizer_to_youngobj PASSED
  89. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:49: TestHybridGC.test_llinterp_lists PASSED
  90. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:64: TestHybridGC.test_llinterp_tuples PASSED
  91. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:80: TestHybridGC.test_global_list PASSED
  92. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:91: TestHybridGC.test_string_concatenation PASSED
  93. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:103: TestHybridGC.test_collect PASSED
  94. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:118: TestHybridGC.test_collect_0 PASSED
  95. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:133: TestHybridGC.test_finalizer PASSED
  96. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:157: TestHybridGC.test_finalizer_calls_malloc PASSED
  97. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:185: TestHybridGC.test_finalizer_calls_collect PASSED
  98. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:210: TestHybridGC.test_finalizer_resurrects PASSED
  99. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:240: TestHybridGC.test_custom_trace PASSED
  100. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:280: TestHybridGC.test_weakref PASSED
  101. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:301: TestHybridGC.test_weakref_to_object_with_finalizer PASSED
  102. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:321: TestHybridGC.test_bug_1 PASSED
  103. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:340: TestHybridGC.test_cycle_with_weakref_and_del PASSED
  104. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:369: TestHybridGC.test_weakref_to_object_with_finalizer_ordering PASSED
  105. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:405: TestHybridGC.test_weakref_bug_1 PASSED
  106. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:428: TestHybridGC.test_id PASSED
  107. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:447: TestHybridGC.test_finalizer_calls_malloc_during_minor_collect PASSED
  108. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:481: TestHybridGC.test_collect_during_collect PASSED
  109. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:518: TestHybridGC.test_print_leak PASSED
  110. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:526: TestHybridGC.test_weakref_across_minor_collection PASSED
  111. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:546: TestHybridGC.test_young_weakref_to_old_object PASSED
  112. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:569: TestHybridGC.test_weakref_to_prebuilt PASSED
  113. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:582: TestHybridGC.test_many_weakrefs PASSED
  114. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:597: TestHybridGC.test_nongc_static_root PASSED
  115. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:611: TestHybridGC.test_can_move PASSED
  116. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:618: TestHybridGC.test_malloc_nonmovable PASSED
  117. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:645: TestHybridGC.test_shrink_array PASSED
  118. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:670: TestHybridGC.test_tagged_simple PASSED
  119. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:690: TestHybridGC.test_tagged_prebuilt PASSED
  120. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:710: TestHybridGC.test_tagged_id PASSED
  121. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:736: TestHybridGC.test_writebarrier_before_copy PASSED
  122. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:756: TestHybridGC.test_stringbuilder PASSED
  123. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:771: TestHybridGC.test_gcflag_extra PASSED
  124. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\gc_test_base.py:795: TestHybridGC.test_pinning PASSED
  125. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\snippet.py:116: TestHybridGC.test_finalizer_order PASSED
  126. rpython/memory/test/test_hybrid_gc.py <- rpython\memory\test\snippet.py:160: TestHybridGC.test_from_objwithfinalizer_to_youngobj PASSED
  127. rpython\memory\test\test_hybrid_gc.py:14: TestHybridGC.test_ref_from_rawmalloced_to_regular PASSED
  128. rpython\memory\test\test_hybrid_gc.py:25: TestHybridGC.test_longliving_weakref PASSED
  129. rpython\memory\test\test_hybrid_gc.py:50: TestHybridGC.test_longliving_object_with_finalizer PASSED
  130. rpython\memory\test\test_hybrid_gc.py:75: TestHybridGC.test_malloc_nonmovable_fixsize SKIPPED
  131. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:49: TestHybridGCSmallHeap.test_llinterp_lists PASSED
  132. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:64: TestHybridGCSmallHeap.test_llinterp_tuples PASSED
  133. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:80: TestHybridGCSmallHeap.test_global_list PASSED
  134. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:91: TestHybridGCSmallHeap.test_string_concatenation PASSED
  135. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:103: TestHybridGCSmallHeap.test_collect PASSED
  136. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:118: TestHybridGCSmallHeap.test_collect_0 PASSED
  137. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:133: TestHybridGCSmallHeap.test_finalizer PASSED
  138. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:157: TestHybridGCSmallHeap.test_finalizer_calls_malloc PASSED
  139. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:185: TestHybridGCSmallHeap.test_finalizer_calls_collect PASSED
  140. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:210: TestHybridGCSmallHeap.test_finalizer_resurrects PASSED
  141. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:240: TestHybridGCSmallHeap.test_custom_trace PASSED
  142. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:280: TestHybridGCSmallHeap.test_weakref PASSED
  143. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:301: TestHybridGCSmallHeap.test_weakref_to_object_with_finalizer PASSED
  144. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:321: TestHybridGCSmallHeap.test_bug_1 PASSED
  145. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:340: TestHybridGCSmallHeap.test_cycle_with_weakref_and_del PASSED
  146. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:369: TestHybridGCSmallHeap.test_weakref_to_object_with_finalizer_ordering PASSED
  147. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:405: TestHybridGCSmallHeap.test_weakref_bug_1 PASSED
  148. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:428: TestHybridGCSmallHeap.test_id PASSED
  149. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:447: TestHybridGCSmallHeap.test_finalizer_calls_malloc_during_minor_collect PASSED
  150. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:481: TestHybridGCSmallHeap.test_collect_during_collect PASSED
  151. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:518: TestHybridGCSmallHeap.test_print_leak PASSED
  152. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:526: TestHybridGCSmallHeap.test_weakref_across_minor_collection PASSED
  153. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:546: TestHybridGCSmallHeap.test_young_weakref_to_old_object PASSED
  154. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:569: TestHybridGCSmallHeap.test_weakref_to_prebuilt PASSED
  155. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:582: TestHybridGCSmallHeap.test_many_weakrefs PASSED
  156. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:597: TestHybridGCSmallHeap.test_nongc_static_root PASSED
  157. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:611: TestHybridGCSmallHeap.test_can_move PASSED
  158. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:618: TestHybridGCSmallHeap.test_malloc_nonmovable PASSED
  159. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:645: TestHybridGCSmallHeap.test_shrink_array PASSED
  160. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:670: TestHybridGCSmallHeap.test_tagged_simple PASSED
  161. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:690: TestHybridGCSmallHeap.test_tagged_prebuilt PASSED
  162. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:710: TestHybridGCSmallHeap.test_tagged_id PASSED
  163. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:736: TestHybridGCSmallHeap.test_writebarrier_before_copy PASSED
  164. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:756: TestHybridGCSmallHeap.test_stringbuilder PASSED
  165. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:771: TestHybridGCSmallHeap.test_gcflag_extra PASSED
  166. rpython/memory/test/test_hybrid_gc_smallheap.py <- rpython\memory\test\gc_test_base.py:795: TestHybridGCSmallHeap.test_pinning PASSED
  167. rpython\memory\test\test_hybrid_gc_smallheap.py:22: TestHybridGCSmallHeap.test_gen3_to_gen2_refs PASSED
  168. rpython\memory\test\test_hybrid_gc_smallheap.py:55: TestHybridGCSmallHeap.test_malloc_nonmovable_fixsize SKIPPED
  169. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:49: TestIncrementalMiniMarkGC.test_llinterp_lists PASSED
  170. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:64: TestIncrementalMiniMarkGC.test_llinterp_tuples PASSED
  171. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:80: TestIncrementalMiniMarkGC.test_global_list PASSED
  172. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:91: TestIncrementalMiniMarkGC.test_string_concatenation PASSED
  173. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:103: TestIncrementalMiniMarkGC.test_collect PASSED
  174. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:118: TestIncrementalMiniMarkGC.test_collect_0 PASSED
  175. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:133: TestIncrementalMiniMarkGC.test_finalizer PASSED
  176. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:157: TestIncrementalMiniMarkGC.test_finalizer_calls_malloc PASSED
  177. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:185: TestIncrementalMiniMarkGC.test_finalizer_calls_collect PASSED
  178. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:210: TestIncrementalMiniMarkGC.test_finalizer_resurrects PASSED
  179. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:240: TestIncrementalMiniMarkGC.test_custom_trace PASSED
  180. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:280: TestIncrementalMiniMarkGC.test_weakref PASSED
  181. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:301: TestIncrementalMiniMarkGC.test_weakref_to_object_with_finalizer PASSED
  182. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:321: TestIncrementalMiniMarkGC.test_bug_1 PASSED
  183. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:340: TestIncrementalMiniMarkGC.test_cycle_with_weakref_and_del PASSED
  184. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:369: TestIncrementalMiniMarkGC.test_weakref_to_object_with_finalizer_ordering PASSED
  185. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:405: TestIncrementalMiniMarkGC.test_weakref_bug_1 PASSED
  186. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:428: TestIncrementalMiniMarkGC.test_id PASSED
  187. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:447: TestIncrementalMiniMarkGC.test_finalizer_calls_malloc_during_minor_collect PASSED
  188. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:481: TestIncrementalMiniMarkGC.test_collect_during_collect PASSED
  189. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:518: TestIncrementalMiniMarkGC.test_print_leak FAILED
  190. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:526: TestIncrementalMiniMarkGC.test_weakref_across_minor_collection PASSED
  191. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:546: TestIncrementalMiniMarkGC.test_young_weakref_to_old_object PASSED
  192. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:569: TestIncrementalMiniMarkGC.test_weakref_to_prebuilt PASSED
  193. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:582: TestIncrementalMiniMarkGC.test_many_weakrefs PASSED
  194. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:597: TestIncrementalMiniMarkGC.test_nongc_static_root PASSED
  195. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:611: TestIncrementalMiniMarkGC.test_can_move PASSED
  196. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:618: TestIncrementalMiniMarkGC.test_malloc_nonmovable PASSED
  197. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:629: TestIncrementalMiniMarkGC.test_malloc_nonmovable_fixsize PASSED
  198. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:645: TestIncrementalMiniMarkGC.test_shrink_array PASSED
  199. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:670: TestIncrementalMiniMarkGC.test_tagged_simple PASSED
  200. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:690: TestIncrementalMiniMarkGC.test_tagged_prebuilt PASSED
  201. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:710: TestIncrementalMiniMarkGC.test_tagged_id PASSED
  202. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:736: TestIncrementalMiniMarkGC.test_writebarrier_before_copy PASSED
  203. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:756: TestIncrementalMiniMarkGC.test_stringbuilder PASSED
  204. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:771: TestIncrementalMiniMarkGC.test_gcflag_extra PASSED
  205. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\gc_test_base.py:795: TestIncrementalMiniMarkGC.test_pinning PASSED
  206. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\snippet.py:116: TestIncrementalMiniMarkGC.test_finalizer_order PASSED
  207. rpython/memory/test/test_incminimark_gc.py <- rpython\memory\test\snippet.py:160: TestIncrementalMiniMarkGC.test_from_objwithfinalizer_to_youngobj PASSED
  208. rpython\memory\test\test_incminimark_gc.py:10: TestIncrementalMiniMarkGC.test_weakref_not_in_stack PASSED
  209. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:49: TestIncrementalMiniMarkGCCardMarking.test_llinterp_lists PASSED
  210. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:64: TestIncrementalMiniMarkGCCardMarking.test_llinterp_tuples PASSED
  211. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:80: TestIncrementalMiniMarkGCCardMarking.test_global_list PASSED
  212. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:91: TestIncrementalMiniMarkGCCardMarking.test_string_concatenation PASSED
  213. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:103: TestIncrementalMiniMarkGCCardMarking.test_collect PASSED
  214. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:118: TestIncrementalMiniMarkGCCardMarking.test_collect_0 PASSED
  215. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:133: TestIncrementalMiniMarkGCCardMarking.test_finalizer PASSED
  216. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:157: TestIncrementalMiniMarkGCCardMarking.test_finalizer_calls_malloc PASSED
  217. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:185: TestIncrementalMiniMarkGCCardMarking.test_finalizer_calls_collect PASSED
  218. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:210: TestIncrementalMiniMarkGCCardMarking.test_finalizer_resurrects PASSED
  219. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:240: TestIncrementalMiniMarkGCCardMarking.test_custom_trace PASSED
  220. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:280: TestIncrementalMiniMarkGCCardMarking.test_weakref PASSED
  221. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:301: TestIncrementalMiniMarkGCCardMarking.test_weakref_to_object_with_finalizer PASSED
  222. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:321: TestIncrementalMiniMarkGCCardMarking.test_bug_1 PASSED
  223. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:340: TestIncrementalMiniMarkGCCardMarking.test_cycle_with_weakref_and_del PASSED
  224. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:369: TestIncrementalMiniMarkGCCardMarking.test_weakref_to_object_with_finalizer_ordering PASSED
  225. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:405: TestIncrementalMiniMarkGCCardMarking.test_weakref_bug_1 PASSED
  226. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:428: TestIncrementalMiniMarkGCCardMarking.test_id PASSED
  227. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:447: TestIncrementalMiniMarkGCCardMarking.test_finalizer_calls_malloc_during_minor_collect PASSED
  228. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:481: TestIncrementalMiniMarkGCCardMarking.test_collect_during_collect PASSED
  229. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:518: TestIncrementalMiniMarkGCCardMarking.test_print_leak FAILED
  230. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:526: TestIncrementalMiniMarkGCCardMarking.test_weakref_across_minor_collection PASSED
  231. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:546: TestIncrementalMiniMarkGCCardMarking.test_young_weakref_to_old_object PASSED
  232. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:569: TestIncrementalMiniMarkGCCardMarking.test_weakref_to_prebuilt PASSED
  233. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:582: TestIncrementalMiniMarkGCCardMarking.test_many_weakrefs PASSED
  234. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:597: TestIncrementalMiniMarkGCCardMarking.test_nongc_static_root PASSED
  235. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:611: TestIncrementalMiniMarkGCCardMarking.test_can_move PASSED
  236. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:618: TestIncrementalMiniMarkGCCardMarking.test_malloc_nonmovable PASSED
  237. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:629: TestIncrementalMiniMarkGCCardMarking.test_malloc_nonmovable_fixsize PASSED
  238. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:645: TestIncrementalMiniMarkGCCardMarking.test_shrink_array PASSED
  239. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:670: TestIncrementalMiniMarkGCCardMarking.test_tagged_simple PASSED
  240. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:690: TestIncrementalMiniMarkGCCardMarking.test_tagged_prebuilt PASSED
  241. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:710: TestIncrementalMiniMarkGCCardMarking.test_tagged_id PASSED
  242. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:736: TestIncrementalMiniMarkGCCardMarking.test_writebarrier_before_copy PASSED
  243. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:756: TestIncrementalMiniMarkGCCardMarking.test_stringbuilder PASSED
  244. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:771: TestIncrementalMiniMarkGCCardMarking.test_gcflag_extra PASSED
  245. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:795: TestIncrementalMiniMarkGCCardMarking.test_pinning PASSED
  246. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\snippet.py:116: TestIncrementalMiniMarkGCCardMarking.test_finalizer_order PASSED
  247. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\snippet.py:160: TestIncrementalMiniMarkGCCardMarking.test_from_objwithfinalizer_to_youngobj PASSED
  248. rpython/memory/test/test_incminimark_gc_cardmarking.py <- rpython\memory\test\test_incminimark_gc.py:10: TestIncrementalMiniMarkGCCardMarking.test_weakref_not_in_stack PASSED
  249. rpython\memory\test\test_lldict.py:11: TestLLAddressDict.test_basics PASSED
  250. rpython\memory\test\test_lldict.py:27: TestLLAddressDict.test_foreach PASSED
  251. rpython\memory\test\test_lldict.py:44: TestLLAddressDict.test_copy_and_update PASSED
  252. rpython\memory\test\test_lldict.py:63: TestLLAddressDict.test_clear PASSED
  253. rpython\memory\test\test_lldict.py:72: TestLLAddressDict.test_random PASSED
  254. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:49: TestMiniMarkGC.test_llinterp_lists PASSED
  255. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:64: TestMiniMarkGC.test_llinterp_tuples PASSED
  256. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:80: TestMiniMarkGC.test_global_list PASSED
  257. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:91: TestMiniMarkGC.test_string_concatenation PASSED
  258. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:103: TestMiniMarkGC.test_collect PASSED
  259. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:118: TestMiniMarkGC.test_collect_0 PASSED
  260. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:133: TestMiniMarkGC.test_finalizer PASSED
  261. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:157: TestMiniMarkGC.test_finalizer_calls_malloc PASSED
  262. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:185: TestMiniMarkGC.test_finalizer_calls_collect PASSED
  263. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:210: TestMiniMarkGC.test_finalizer_resurrects PASSED
  264. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:240: TestMiniMarkGC.test_custom_trace PASSED
  265. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:280: TestMiniMarkGC.test_weakref PASSED
  266. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:301: TestMiniMarkGC.test_weakref_to_object_with_finalizer PASSED
  267. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:321: TestMiniMarkGC.test_bug_1 PASSED
  268. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:340: TestMiniMarkGC.test_cycle_with_weakref_and_del PASSED
  269. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:369: TestMiniMarkGC.test_weakref_to_object_with_finalizer_ordering PASSED
  270. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:405: TestMiniMarkGC.test_weakref_bug_1 PASSED
  271. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:428: TestMiniMarkGC.test_id PASSED
  272. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:447: TestMiniMarkGC.test_finalizer_calls_malloc_during_minor_collect PASSED
  273. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:481: TestMiniMarkGC.test_collect_during_collect PASSED
  274. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:518: TestMiniMarkGC.test_print_leak PASSED
  275. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:526: TestMiniMarkGC.test_weakref_across_minor_collection PASSED
  276. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:546: TestMiniMarkGC.test_young_weakref_to_old_object PASSED
  277. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:569: TestMiniMarkGC.test_weakref_to_prebuilt PASSED
  278. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:582: TestMiniMarkGC.test_many_weakrefs PASSED
  279. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:597: TestMiniMarkGC.test_nongc_static_root PASSED
  280. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:611: TestMiniMarkGC.test_can_move PASSED
  281. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:618: TestMiniMarkGC.test_malloc_nonmovable PASSED
  282. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:629: TestMiniMarkGC.test_malloc_nonmovable_fixsize PASSED
  283. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:645: TestMiniMarkGC.test_shrink_array PASSED
  284. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:670: TestMiniMarkGC.test_tagged_simple PASSED
  285. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:690: TestMiniMarkGC.test_tagged_prebuilt PASSED
  286. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:710: TestMiniMarkGC.test_tagged_id PASSED
  287. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:736: TestMiniMarkGC.test_writebarrier_before_copy PASSED
  288. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:756: TestMiniMarkGC.test_stringbuilder PASSED
  289. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:771: TestMiniMarkGC.test_gcflag_extra PASSED
  290. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\gc_test_base.py:795: TestMiniMarkGC.test_pinning PASSED
  291. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\snippet.py:116: TestMiniMarkGC.test_finalizer_order PASSED
  292. rpython/memory/test/test_minimark_gc.py <- rpython\memory\test\snippet.py:160: TestMiniMarkGC.test_from_objwithfinalizer_to_youngobj PASSED
  293. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:49: TestMiniMarkGCCardMarking.test_llinterp_lists PASSED
  294. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:64: TestMiniMarkGCCardMarking.test_llinterp_tuples PASSED
  295. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:80: TestMiniMarkGCCardMarking.test_global_list PASSED
  296. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:91: TestMiniMarkGCCardMarking.test_string_concatenation PASSED
  297. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:103: TestMiniMarkGCCardMarking.test_collect PASSED
  298. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:118: TestMiniMarkGCCardMarking.test_collect_0 PASSED
  299. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:133: TestMiniMarkGCCardMarking.test_finalizer PASSED
  300. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:157: TestMiniMarkGCCardMarking.test_finalizer_calls_malloc PASSED
  301. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:185: TestMiniMarkGCCardMarking.test_finalizer_calls_collect PASSED
  302. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:210: TestMiniMarkGCCardMarking.test_finalizer_resurrects PASSED
  303. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:240: TestMiniMarkGCCardMarking.test_custom_trace PASSED
  304. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:280: TestMiniMarkGCCardMarking.test_weakref PASSED
  305. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:301: TestMiniMarkGCCardMarking.test_weakref_to_object_with_finalizer PASSED
  306. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:321: TestMiniMarkGCCardMarking.test_bug_1 PASSED
  307. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:340: TestMiniMarkGCCardMarking.test_cycle_with_weakref_and_del PASSED
  308. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:369: TestMiniMarkGCCardMarking.test_weakref_to_object_with_finalizer_ordering PASSED
  309. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:405: TestMiniMarkGCCardMarking.test_weakref_bug_1 PASSED
  310. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:428: TestMiniMarkGCCardMarking.test_id PASSED
  311. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:447: TestMiniMarkGCCardMarking.test_finalizer_calls_malloc_during_minor_collect PASSED
  312. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:481: TestMiniMarkGCCardMarking.test_collect_during_collect PASSED
  313. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:518: TestMiniMarkGCCardMarking.test_print_leak PASSED
  314. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:526: TestMiniMarkGCCardMarking.test_weakref_across_minor_collection PASSED
  315. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:546: TestMiniMarkGCCardMarking.test_young_weakref_to_old_object PASSED
  316. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:569: TestMiniMarkGCCardMarking.test_weakref_to_prebuilt PASSED
  317. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:582: TestMiniMarkGCCardMarking.test_many_weakrefs PASSED
  318. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:597: TestMiniMarkGCCardMarking.test_nongc_static_root PASSED
  319. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:611: TestMiniMarkGCCardMarking.test_can_move PASSED
  320. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:618: TestMiniMarkGCCardMarking.test_malloc_nonmovable PASSED
  321. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:629: TestMiniMarkGCCardMarking.test_malloc_nonmovable_fixsize PASSED
  322. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:645: TestMiniMarkGCCardMarking.test_shrink_array PASSED
  323. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:670: TestMiniMarkGCCardMarking.test_tagged_simple PASSED
  324. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:690: TestMiniMarkGCCardMarking.test_tagged_prebuilt PASSED
  325. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:710: TestMiniMarkGCCardMarking.test_tagged_id PASSED
  326. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:736: TestMiniMarkGCCardMarking.test_writebarrier_before_copy PASSED
  327. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:756: TestMiniMarkGCCardMarking.test_stringbuilder PASSED
  328. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:771: TestMiniMarkGCCardMarking.test_gcflag_extra PASSED
  329. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\gc_test_base.py:795: TestMiniMarkGCCardMarking.test_pinning PASSED
  330. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\snippet.py:116: TestMiniMarkGCCardMarking.test_finalizer_order PASSED
  331. rpython/memory/test/test_minimark_gc_cardmarking.py <- rpython\memory\test\snippet.py:160: TestMiniMarkGCCardMarking.test_from_objwithfinalizer_to_youngobj PASSED
  332. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:49: TestSemiSpaceGC.test_llinterp_lists PASSED
  333. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:64: TestSemiSpaceGC.test_llinterp_tuples PASSED
  334. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:80: TestSemiSpaceGC.test_global_list PASSED
  335. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:91: TestSemiSpaceGC.test_string_concatenation PASSED
  336. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:103: TestSemiSpaceGC.test_collect PASSED
  337. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:118: TestSemiSpaceGC.test_collect_0 PASSED
  338. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:133: TestSemiSpaceGC.test_finalizer PASSED
  339. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:157: TestSemiSpaceGC.test_finalizer_calls_malloc PASSED
  340. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:185: TestSemiSpaceGC.test_finalizer_calls_collect PASSED
  341. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:210: TestSemiSpaceGC.test_finalizer_resurrects PASSED
  342. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:240: TestSemiSpaceGC.test_custom_trace PASSED
  343. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:280: TestSemiSpaceGC.test_weakref PASSED
  344. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:301: TestSemiSpaceGC.test_weakref_to_object_with_finalizer PASSED
  345. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:321: TestSemiSpaceGC.test_bug_1 PASSED
  346. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:340: TestSemiSpaceGC.test_cycle_with_weakref_and_del PASSED
  347. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:369: TestSemiSpaceGC.test_weakref_to_object_with_finalizer_ordering PASSED
  348. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:405: TestSemiSpaceGC.test_weakref_bug_1 PASSED
  349. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:428: TestSemiSpaceGC.test_id PASSED
  350. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:447: TestSemiSpaceGC.test_finalizer_calls_malloc_during_minor_collect PASSED
  351. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:481: TestSemiSpaceGC.test_collect_during_collect PASSED
  352. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:518: TestSemiSpaceGC.test_print_leak PASSED
  353. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:526: TestSemiSpaceGC.test_weakref_across_minor_collection PASSED
  354. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:546: TestSemiSpaceGC.test_young_weakref_to_old_object PASSED
  355. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:569: TestSemiSpaceGC.test_weakref_to_prebuilt PASSED
  356. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:582: TestSemiSpaceGC.test_many_weakrefs PASSED
  357. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:597: TestSemiSpaceGC.test_nongc_static_root PASSED
  358. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:611: TestSemiSpaceGC.test_can_move PASSED
  359. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:618: TestSemiSpaceGC.test_malloc_nonmovable PASSED
  360. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:629: TestSemiSpaceGC.test_malloc_nonmovable_fixsize PASSED
  361. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:645: TestSemiSpaceGC.test_shrink_array PASSED
  362. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:670: TestSemiSpaceGC.test_tagged_simple PASSED
  363. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:690: TestSemiSpaceGC.test_tagged_prebuilt PASSED
  364. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:710: TestSemiSpaceGC.test_tagged_id PASSED
  365. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:736: TestSemiSpaceGC.test_writebarrier_before_copy PASSED
  366. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:756: TestSemiSpaceGC.test_stringbuilder PASSED
  367. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:771: TestSemiSpaceGC.test_gcflag_extra PASSED
  368. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\gc_test_base.py:795: TestSemiSpaceGC.test_pinning PASSED
  369. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\snippet.py:116: TestSemiSpaceGC.test_finalizer_order PASSED
  370. rpython/memory/test/test_semispace_gc.py <- rpython\memory\test\snippet.py:160: TestSemiSpaceGC.test_from_objwithfinalizer_to_youngobj PASSED
  371. rpython\memory\test\test_support.py:12: TestAddressStack.test_simple_access PASSED
  372. rpython\memory\test\test_support.py:45: TestAddressStack.test_big_access PASSED
  373. rpython\memory\test\test_support.py:66: TestAddressStack.test_foreach PASSED
  374. rpython\memory\test\test_support.py:83: TestAddressStack.test_remove PASSED
  375. rpython\memory\test\test_support.py:99: TestAddressStack.test_length PASSED
  376. rpython\memory\test\test_support.py:111: TestAddressStack.test_sort PASSED
  377. rpython\memory\test\test_support.py:130: TestAddressDeque.test_big_access PASSED
  378. rpython\memory\test\test_support.py:147: TestAddressDeque.test_foreach PASSED
  379. rpython\memory\test\test_support.py:169: test_stack_annotate PASSED
  380. rpython\memory\test\test_transformed_gc.py:180: TestSemiSpaceGC.test_instances PASSED
  381. rpython\memory\test\test_transformed_gc.py:198: TestSemiSpaceGC.test_llinterp_lists PASSED
  382. rpython\memory\test\test_transformed_gc.py:216: TestSemiSpaceGC.test_llinterp_tuples PASSED
  383. rpython\memory\test\test_transformed_gc.py:236: TestSemiSpaceGC.test_llinterp_dict PASSED
  384. rpython\memory\test\test_transformed_gc.py:252: TestSemiSpaceGC.test_global_list SKIPPED
  385. rpython\memory\test\test_transformed_gc.py:269: TestSemiSpaceGC.test_string_concatenation PASSED
  386. rpython\memory\test\test_transformed_gc.py:288: TestSemiSpaceGC.test_nongc_static_root PASSED
  387. rpython\memory\test\test_transformed_gc.py:316: TestSemiSpaceGC.test_finalizer PASSED
  388. rpython\memory\test\test_transformed_gc.py:348: TestSemiSpaceGC.test_finalizer_calls_malloc PASSED
  389. rpython\memory\test\test_transformed_gc.py:382: TestSemiSpaceGC.test_finalizer_resurrects PASSED
  390. rpython\memory\test\test_transformed_gc.py:416: TestSemiSpaceGC.test_custom_trace PASSED
  391. rpython\memory\test\test_transformed_gc.py:441: TestSemiSpaceGC.test_weakref PASSED
  392. rpython\memory\test\test_transformed_gc.py:465: TestSemiSpaceGC.test_weakref_to_object_with_finalizer PASSED
  393. rpython\memory\test\test_transformed_gc.py:507: TestSemiSpaceGC.test_collect_during_collect PASSED
  394. rpython\memory\test\test_transformed_gc.py:524: TestSemiSpaceGC.test_collect_0 PASSED
  395. rpython\memory\test\test_transformed_gc.py:585: TestSemiSpaceGC.test_interior_ptrs PASSED
  396. rpython\memory\test\test_transformed_gc.py:608: TestSemiSpaceGC.test_id PASSED
  397. rpython\memory\test\test_transformed_gc.py:619: TestSemiSpaceGC.test_can_move PASSED
  398. rpython\memory\test\test_transformed_gc.py:639: TestSemiSpaceGC.test_malloc_nonmovable PASSED
  399. rpython\memory\test\test_transformed_gc.py:659: TestSemiSpaceGC.test_malloc_nonmovable_fixsize PASSED
  400. rpython\memory\test\test_transformed_gc.py:680: TestSemiSpaceGC.test_shrink_array PASSED
  401. rpython\memory\test\test_transformed_gc.py:703: TestSemiSpaceGC.test_string_builder_over_allocation PASSED
  402. rpython\memory\test\test_transformed_gc.py:740: TestSemiSpaceGC.test_many_ids SKIPPED
  403. rpython\memory\test\test_transformed_gc.py:811: TestSemiSpaceGC.test_do_malloc_operations PASSED
  404. rpython\memory\test\test_transformed_gc.py:848: TestSemiSpaceGC.test_do_malloc_operations_in_call PASSED
  405. rpython\memory\test\test_transformed_gc.py:891: TestSemiSpaceGC.test_gc_heap_stats SKIPPED
  406. rpython\memory\test\test_transformed_gc.py:921: TestSemiSpaceGC.test_writebarrier_before_copy PASSED
  407. rpython\memory\test\test_transformed_gc.py:180: TestGenerationGC.test_instances PASSED
  408. rpython\memory\test\test_transformed_gc.py:198: TestGenerationGC.test_llinterp_lists PASSED
  409. rpython\memory\test\test_transformed_gc.py:216: TestGenerationGC.test_llinterp_tuples PASSED
  410. rpython\memory\test\test_transformed_gc.py:236: TestGenerationGC.test_llinterp_dict PASSED
  411. rpython\memory\test\test_transformed_gc.py:252: TestGenerationGC.test_global_list SKIPPED
  412. rpython\memory\test\test_transformed_gc.py:269: TestGenerationGC.test_string_concatenation PASSED
  413. rpython\memory\test\test_transformed_gc.py:288: TestGenerationGC.test_nongc_static_root PASSED
  414. rpython\memory\test\test_transformed_gc.py:316: TestGenerationGC.test_finalizer PASSED
  415. rpython\memory\test\test_transformed_gc.py:348: TestGenerationGC.test_finalizer_calls_malloc PASSED
  416. rpython\memory\test\test_transformed_gc.py:382: TestGenerationGC.test_finalizer_resurrects PASSED
  417. rpython\memory\test\test_transformed_gc.py:416: TestGenerationGC.test_custom_trace PASSED
  418. rpython\memory\test\test_transformed_gc.py:441: TestGenerationGC.test_weakref PASSED
  419. rpython\memory\test\test_transformed_gc.py:465: TestGenerationGC.test_weakref_to_object_with_finalizer PASSED
  420. rpython\memory\test\test_transformed_gc.py:507: TestGenerationGC.test_collect_during_collect PASSED
  421. rpython\memory\test\test_transformed_gc.py:524: TestGenerationGC.test_collect_0 PASSED
  422. rpython\memory\test\test_transformed_gc.py:585: TestGenerationGC.test_interior_ptrs PASSED
  423. rpython\memory\test\test_transformed_gc.py:608: TestGenerationGC.test_id PASSED
  424. rpython\memory\test\test_transformed_gc.py:619: TestGenerationGC.test_can_move PASSED
  425. rpython\memory\test\test_transformed_gc.py:639: TestGenerationGC.test_malloc_nonmovable PASSED
  426. rpython\memory\test\test_transformed_gc.py:659: TestGenerationGC.test_malloc_nonmovable_fixsize PASSED
  427. rpython\memory\test\test_transformed_gc.py:680: TestGenerationGC.test_shrink_array PASSED
  428. rpython\memory\test\test_transformed_gc.py:703: TestGenerationGC.test_string_builder_over_allocation PASSED
  429. rpython\memory\test\test_transformed_gc.py:740: TestGenerationGC.test_many_ids SKIPPED
  430. rpython\memory\test\test_transformed_gc.py:811: TestGenerationGC.test_do_malloc_operations PASSED
  431. rpython\memory\test\test_transformed_gc.py:848: TestGenerationGC.test_do_malloc_operations_in_call PASSED
  432. rpython\memory\test\test_transformed_gc.py:891: TestGenerationGC.test_gc_heap_stats SKIPPED
  433. rpython\memory\test\test_transformed_gc.py:921: TestGenerationGC.test_writebarrier_before_copy PASSED
  434. rpython\memory\test\test_transformed_gc.py:971: TestGenerationGC.test_weakref_across_minor_collection PASSED
  435. rpython\memory\test\test_transformed_gc.py:997: TestGenerationGC.test_nongc_static_root_minor_collect PASSED
  436. rpython\memory\test\test_transformed_gc.py:1027: TestGenerationGC.test_static_root_minor_collect PASSED
  437. rpython\memory\test\test_transformed_gc.py:1050: TestGenerationGC.test_many_weakrefs PASSED
  438. rpython\memory\test\test_transformed_gc.py:1078: TestGenerationGC.test_immutable_to_old_promotion PASSED
  439. rpython\memory\test\test_transformed_gc.py:1118: TestGenerationGC.test_adr_of_nursery PASSED
  440. rpython\memory\test\test_transformed_gc.py:1164: TestGenerationalNoFullCollectGC.test_working_nursery PASSED
  441. rpython\memory\test\test_transformed_gc.py:180: TestHybridGC.test_instances PASSED
  442. rpython\memory\test\test_transformed_gc.py:198: TestHybridGC.test_llinterp_lists PASSED
  443. rpython\memory\test\test_transformed_gc.py:216: TestHybridGC.test_llinterp_tuples PASSED
  444. rpython\memory\test\test_transformed_gc.py:236: TestHybridGC.test_llinterp_dict PASSED
  445. rpython\memory\test\test_transformed_gc.py:252: TestHybridGC.test_global_list SKIPPED
  446. rpython\memory\test\test_transformed_gc.py:269: TestHybridGC.test_string_concatenation PASSED
  447. rpython\memory\test\test_transformed_gc.py:288: TestHybridGC.test_nongc_static_root PASSED
  448. rpython\memory\test\test_transformed_gc.py:316: TestHybridGC.test_finalizer PASSED
  449. rpython\memory\test\test_transformed_gc.py:348: TestHybridGC.test_finalizer_calls_malloc PASSED
  450. rpython\memory\test\test_transformed_gc.py:382: TestHybridGC.test_finalizer_resurrects PASSED
  451. rpython\memory\test\test_transformed_gc.py:416: TestHybridGC.test_custom_trace PASSED
  452. rpython\memory\test\test_transformed_gc.py:441: TestHybridGC.test_weakref PASSED
  453. rpython\memory\test\test_transformed_gc.py:465: TestHybridGC.test_weakref_to_object_with_finalizer PASSED
  454. rpython\memory\test\test_transformed_gc.py:507: TestHybridGC.test_collect_during_collect PASSED
  455. rpython\memory\test\test_transformed_gc.py:524: TestHybridGC.test_collect_0 PASSED
  456. rpython\memory\test\test_transformed_gc.py:585: TestHybridGC.test_interior_ptrs PASSED
  457. rpython\memory\test\test_transformed_gc.py:608: TestHybridGC.test_id PASSED
  458. rpython\memory\test\test_transformed_gc.py:619: TestHybridGC.test_can_move PASSED
  459. rpython\memory\test\test_transformed_gc.py:639: TestHybridGC.test_malloc_nonmovable PASSED
  460. rpython\memory\test\test_transformed_gc.py:680: TestHybridGC.test_shrink_array PASSED
  461. rpython\memory\test\test_transformed_gc.py:703: TestHybridGC.test_string_builder_over_allocation PASSED
  462. rpython\memory\test\test_transformed_gc.py:740: TestHybridGC.test_many_ids SKIPPED
  463. rpython\memory\test\test_transformed_gc.py:811: TestHybridGC.test_do_malloc_operations PASSED
  464. rpython\memory\test\test_transformed_gc.py:848: TestHybridGC.test_do_malloc_operations_in_call PASSED
  465. rpython\memory\test\test_transformed_gc.py:891: TestHybridGC.test_gc_heap_stats SKIPPED
  466. rpython\memory\test\test_transformed_gc.py:921: TestHybridGC.test_writebarrier_before_copy PASSED
  467. rpython\memory\test\test_transformed_gc.py:971: TestHybridGC.test_weakref_across_minor_collection PASSED
  468. rpython\memory\test\test_transformed_gc.py:997: TestHybridGC.test_nongc_static_root_minor_collect PASSED
  469. rpython\memory\test\test_transformed_gc.py:1027: TestHybridGC.test_static_root_minor_collect PASSED
  470. rpython\memory\test\test_transformed_gc.py:1050: TestHybridGC.test_many_weakrefs PASSED
  471. rpython\memory\test\test_transformed_gc.py:1078: TestHybridGC.test_immutable_to_old_promotion PASSED
  472. rpython\memory\test\test_transformed_gc.py:1118: TestHybridGC.test_adr_of_nursery PASSED
  473. rpython\memory\test\test_transformed_gc.py:1202: TestHybridGC.test_ref_from_rawmalloced_to_regular PASSED
  474. rpython\memory\test\test_transformed_gc.py:1228: TestHybridGC.test_write_barrier_direct PASSED
  475. rpython\memory\test\test_transformed_gc.py:1233: TestHybridGC.test_malloc_nonmovable_fixsize SKIPPED
  476. rpython\memory\test\test_transformed_gc.py:180: TestMiniMarkGC.test_instances PASSED
  477. rpython\memory\test\test_transformed_gc.py:198: TestMiniMarkGC.test_llinterp_lists PASSED
  478. rpython\memory\test\test_transformed_gc.py:216: TestMiniMarkGC.test_llinterp_tuples PASSED
  479. rpython\memory\test\test_transformed_gc.py:236: TestMiniMarkGC.test_llinterp_dict PASSED
  480. rpython\memory\test\test_transformed_gc.py:252: TestMiniMarkGC.test_global_list SKIPPED
  481. rpython\memory\test\test_transformed_gc.py:269: TestMiniMarkGC.test_string_concatenation PASSED
  482. rpython\memory\test\test_transformed_gc.py:288: TestMiniMarkGC.test_nongc_static_root PASSED
  483. rpython\memory\test\test_transformed_gc.py:316: TestMiniMarkGC.test_finalizer PASSED
  484. rpython\memory\test\test_transformed_gc.py:348: TestMiniMarkGC.test_finalizer_calls_malloc PASSED
  485. rpython\memory\test\test_transformed_gc.py:382: TestMiniMarkGC.test_finalizer_resurrects PASSED
  486. rpython\memory\test\test_transformed_gc.py:416: TestMiniMarkGC.test_custom_trace PASSED
  487. rpython\memory\test\test_transformed_gc.py:441: TestMiniMarkGC.test_weakref PASSED
  488. rpython\memory\test\test_transformed_gc.py:465: TestMiniMarkGC.test_weakref_to_object_with_finalizer PASSED
  489. rpython\memory\test\test_transformed_gc.py:507: TestMiniMarkGC.test_collect_during_collect PASSED
  490. rpython\memory\test\test_transformed_gc.py:524: TestMiniMarkGC.test_collect_0 PASSED
  491. rpython\memory\test\test_transformed_gc.py:585: TestMiniMarkGC.test_interior_ptrs PASSED
  492. rpython\memory\test\test_transformed_gc.py:608: TestMiniMarkGC.test_id PASSED
  493. rpython\memory\test\test_transformed_gc.py:619: TestMiniMarkGC.test_can_move PASSED
  494. rpython\memory\test\test_transformed_gc.py:639: TestMiniMarkGC.test_malloc_nonmovable PASSED
  495. rpython\memory\test\test_transformed_gc.py:680: TestMiniMarkGC.test_shrink_array PASSED
  496. rpython\memory\test\test_transformed_gc.py:703: TestMiniMarkGC.test_string_builder_over_allocation PASSED
  497. rpython\memory\test\test_transformed_gc.py:740: TestMiniMarkGC.test_many_ids PASSED
  498. rpython\memory\test\test_transformed_gc.py:811: TestMiniMarkGC.test_do_malloc_operations PASSED
  499. rpython\memory\test\test_transformed_gc.py:848: TestMiniMarkGC.test_do_malloc_operations_in_call PASSED
  500. rpython\memory\test\test_transformed_gc.py:891: TestMiniMarkGC.test_gc_heap_stats SKIPPED
  501. rpython\memory\test\test_transformed_gc.py:921: TestMiniMarkGC.test_writebarrier_before_copy PASSED
  502. rpython\memory\test\test_transformed_gc.py:971: TestMiniMarkGC.test_weakref_across_minor_collection PASSED
  503. rpython\memory\test\test_transformed_gc.py:997: TestMiniMarkGC.test_nongc_static_root_minor_collect PASSED
  504. rpython\memory\test\test_transformed_gc.py:1027: TestMiniMarkGC.test_static_root_minor_collect PASSED
  505. rpython\memory\test\test_transformed_gc.py:1050: TestMiniMarkGC.test_many_weakrefs PASSED
  506. rpython\memory\test\test_transformed_gc.py:1078: TestMiniMarkGC.test_immutable_to_old_promotion PASSED
  507. rpython\memory\test\test_transformed_gc.py:1118: TestMiniMarkGC.test_adr_of_nursery PASSED
  508. rpython\memory\test\test_transformed_gc.py:1202: TestMiniMarkGC.test_ref_from_rawmalloced_to_regular PASSED
  509. rpython\memory\test\test_transformed_gc.py:1228: TestMiniMarkGC.test_write_barrier_direct PASSED
  510. rpython\memory\test\test_transformed_gc.py:1233: TestMiniMarkGC.test_malloc_nonmovable_fixsize SKIPPED
  511. rpython\memory\test\test_transformed_gc.py:1274: TestMiniMarkGC.test_no_clean_setarrayitems PASSED
  512. rpython\memory\test\test_transformed_gc.py:180: TestIncrementalMiniMarkGC.test_instances PASSED
  513. rpython\memory\test\test_transformed_gc.py:198: TestIncrementalMiniMarkGC.test_llinterp_lists PASSED
  514. rpython\memory\test\test_transformed_gc.py:216: TestIncrementalMiniMarkGC.test_llinterp_tuples PASSED
  515. rpython\memory\test\test_transformed_gc.py:236: TestIncrementalMiniMarkGC.test_llinterp_dict PASSED
  516. rpython\memory\test\test_transformed_gc.py:252: TestIncrementalMiniMarkGC.test_global_list SKIPPED
  517. rpython\memory\test\test_transformed_gc.py:269: TestIncrementalMiniMarkGC.test_string_concatenation PASSED
  518. rpython\memory\test\test_transformed_gc.py:288: TestIncrementalMiniMarkGC.test_nongc_static_root PASSED
  519. rpython\memory\test\test_transformed_gc.py:316: TestIncrementalMiniMarkGC.test_finalizer PASSED
  520. rpython\memory\test\test_transformed_gc.py:348: TestIncrementalMiniMarkGC.test_finalizer_calls_malloc PASSED
  521. rpython\memory\test\test_transformed_gc.py:382: TestIncrementalMiniMarkGC.test_finalizer_resurrects PASSED
  522. rpython\memory\test\test_transformed_gc.py:416: TestIncrementalMiniMarkGC.test_custom_trace PASSED
  523. rpython\memory\test\test_transformed_gc.py:441: TestIncrementalMiniMarkGC.test_weakref PASSED
  524. rpython\memory\test\test_transformed_gc.py:465: TestIncrementalMiniMarkGC.test_weakref_to_object_with_finalizer PASSED
  525. rpython\memory\test\test_transformed_gc.py:507: TestIncrementalMiniMarkGC.test_collect_during_collect PASSED
  526. rpython\memory\test\test_transformed_gc.py:524: TestIncrementalMiniMarkGC.test_collect_0 PASSED
  527. rpython\memory\test\test_transformed_gc.py:585: TestIncrementalMiniMarkGC.test_interior_ptrs PASSED
  528. rpython\memory\test\test_transformed_gc.py:608: TestIncrementalMiniMarkGC.test_id PASSED
  529. rpython\memory\test\test_transformed_gc.py:619: TestIncrementalMiniMarkGC.test_can_move PASSED
  530. rpython\memory\test\test_transformed_gc.py:639: TestIncrementalMiniMarkGC.test_malloc_nonmovable PASSED
  531. rpython\memory\test\test_transformed_gc.py:680: TestIncrementalMiniMarkGC.test_shrink_array PASSED
  532. rpython\memory\test\test_transformed_gc.py:703: TestIncrementalMiniMarkGC.test_string_builder_over_allocation PASSED
  533. rpython\memory\test\test_transformed_gc.py:740: TestIncrementalMiniMarkGC.test_many_ids PASSED
  534. rpython\memory\test\test_transformed_gc.py:811: TestIncrementalMiniMarkGC.test_do_malloc_operations PASSED
  535. rpython\memory\test\test_transformed_gc.py:848: TestIncrementalMiniMarkGC.test_do_malloc_operations_in_call PASSED
  536. rpython\memory\test\test_transformed_gc.py:891: TestIncrementalMiniMarkGC.test_gc_heap_stats SKIPPED
  537. rpython\memory\test\test_transformed_gc.py:921: TestIncrementalMiniMarkGC.test_writebarrier_before_copy PASSED
  538. rpython\memory\test\test_transformed_gc.py:971: TestIncrementalMiniMarkGC.test_weakref_across_minor_collection PASSED
  539. rpython\memory\test\test_transformed_gc.py:997: TestIncrementalMiniMarkGC.test_nongc_static_root_minor_collect PASSED
  540. rpython\memory\test\test_transformed_gc.py:1027: TestIncrementalMiniMarkGC.test_static_root_minor_collect PASSED
  541. rpython\memory\test\test_transformed_gc.py:1050: TestIncrementalMiniMarkGC.test_many_weakrefs PASSED
  542. rpython\memory\test\test_transformed_gc.py:1078: TestIncrementalMiniMarkGC.test_immutable_to_old_promotion PASSED
  543. rpython\memory\test\test_transformed_gc.py:1118: TestIncrementalMiniMarkGC.test_adr_of_nursery PASSED
  544. rpython\memory\test\test_transformed_gc.py:1202: TestIncrementalMiniMarkGC.test_ref_from_rawmalloced_to_regular PASSED
  545. rpython\memory\test\test_transformed_gc.py:1228: TestIncrementalMiniMarkGC.test_write_barrier_direct PASSED
  546. rpython\memory\test\test_transformed_gc.py:1233: TestIncrementalMiniMarkGC.test_malloc_nonmovable_fixsize SKIPPED
  547. rpython\memory\test\test_transformed_gc.py:1274: TestIncrementalMiniMarkGC.test_no_clean_setarrayitems PASSED
  548. rpython\memory\test\test_transformed_gc.py:1323: TestHybridTaggedPointerGC.test_tagged_simple PASSED
  549. rpython\memory\test\test_transformed_gc.py:1348: TestHybridTaggedPointerGC.test_tagged_prebuilt PASSED
  550. =================================== FAILURES ===================================
  551. __________________ TestIncrementalMiniMarkGC.test_print_leak ___________________
  552. self = <rpython.memory.test.test_incminimark_gc.TestIncrementalMiniMarkGC object at 0x09159DF0>
  553. def test_print_leak(self):
  554. def f(n):
  555. for i in range(n):
  556. print i
  557. return 42
  558. > res = self.interpret(f, [10])
  559. rpython\memory\test\gc_test_base.py:523:
  560. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  561. self = <rpython.memory.test.test_incminimark_gc.TestIncrementalMiniMarkGC object at 0x09159DF0>
  562. func = <function f at 0x090B0830>, values = [10]
  563. def interpret(self, func, values, **kwds):
  564. interp, graph = get_interpreter(func, values, **kwds)
  565. gcwrapper.prepare_graphs_and_create_gc(interp, self.GCClass,
  566. self.GC_PARAMS)
  567. > return interp.eval_graph(graph, values)
  568. rpython\memory\test\gc_test_base.py:47:
  569. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  570. self = <rpython.rtyper.llinterp.LLInterpreter object at 0x09228FD0>
  571. graph = <FunctionGraph of (rpython.memory.test.gc_test_base:519)f at 0x908f8d0>
  572. args = [10], recursive = False
  573. def eval_graph(self, graph, args=(), recursive=False):
  574. llframe = self.frame_class(graph, args, self)
  575. if self.tracer and not recursive:
  576. global tracer1
  577. tracer1 = self.tracer
  578. self.tracer.start()
  579. retval = None
  580. self.traceback_frames = []
  581. old_frame_stack = self.frame_stack[:]
  582. prev_interpreter = LLInterpreter.current_interpreter
  583. LLInterpreter.current_interpreter = self
  584. try:
  585. try:
  586. > retval = llframe.eval()
  587. rpython\rtyper\llinterp.py:77:
  588. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  589. self = <rpython.rtyper.llinterp.LLFrame object at 0x091ECAF0>
  590. def eval(self):
  591. graph = self.graph
  592. tracer = self.llinterpreter.tracer
  593. if tracer:
  594. tracer.enter(graph)
  595. self.llinterpreter.frame_stack.append(self)
  596. try:
  597. try:
  598. nextblock = graph.startblock
  599. args = self.args
  600. while 1:
  601. self.clear()
  602. self.fillvars(nextblock, args)
  603. > nextblock, args = self.eval_block(nextblock)
  604. rpython\rtyper\llinterp.py:254:
  605. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  606. self = <rpython.rtyper.llinterp.LLFrame object at 0x091ECAF0>
  607. block = block@-1 with 1 exits
  608. def eval_block(self, block):
  609. """ return (nextblock, values) tuple. If nextblock
  610. is None, values is the concrete return value.
  611. """
  612. self.curr_block = block
  613. catch_exception = block.exitswitch == c_last_exception
  614. e = None
  615. try:
  616. for i, op in enumerate(block.operations):
  617. self.curr_operation_index = i
  618. > self.eval_operation(op)
  619. rpython\rtyper\llinterp.py:279:
  620. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  621. self = <rpython.rtyper.llinterp.LLFrame object at 0x091ECAF0>
  622. operation = v23760 = direct_call((<* fn rpython_print_newline>))
  623. def eval_operation(self, operation):
  624. tracer = self.llinterpreter.tracer
  625. if tracer:
  626. tracer.dump(str(operation))
  627. ophandler = self.getoperationhandler(operation.opname)
  628. # XXX slighly unnice but an important safety check
  629. if operation.opname == 'direct_call':
  630. assert isinstance(operation.args[0], Constant)
  631. elif operation.opname == 'indirect_call':
  632. assert isinstance(operation.args[0], Variable)
  633. if getattr(ophandler, 'specialform', False):
  634. retval = ophandler(*operation.args)
  635. else:
  636. vals = [self.getval(x) for x in operation.args]
  637. if getattr(ophandler, 'need_result_type', False):
  638. vals.insert(0, operation.result.concretetype)
  639. try:
  640. > retval = ophandler(*vals)
  641. rpython\rtyper\llinterp.py:388:
  642. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  643. self = <rpython.rtyper.llinterp.LLFrame object at 0x091ECAF0>
  644. f = <* fn rpython_print_newline>
  645. def op_direct_call(self, f, *args):
  646. FTYPE = self.llinterpreter.typer.type_system.derefType(lltype.typeOf(f))
  647. > return self.perform_call(f, FTYPE.ARGS, args)
  648. rpython\rtyper\llinterp.py:647:
  649. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  650. self = <rpython.rtyper.llinterp.LLFrame object at 0x091ECAF0>
  651. f = <* fn rpython_print_newline>, ARGS = (), args = ()
  652. def perform_call(self, f, ARGS, args):
  653. fobj = self.llinterpreter.typer.type_system.deref(f)
  654. has_callable = getattr(fobj, '_callable', None) is not None
  655. if hasattr(fobj, 'graph'):
  656. graph = fobj.graph
  657. else:
  658. assert has_callable, "don't know how to execute %r" % f
  659. return self.invoke_callable_with_pyexceptions(f, *args)
  660. args_v = graph.getargs()
  661. if len(ARGS) != len(args_v):
  662. raise TypeError("graph with %d args called with wrong func ptr type: %r" %(len(args_v), ARGS))
  663. for T, v in zip(ARGS, args_v):
  664. if not lltype.isCompatibleType(T, v.concretetype):
  665. raise TypeError("graph with %r args called with wrong func ptr type: %r" %
  666. (tuple([v.concretetype for v in args_v]), ARGS))
  667. frame = self.newsubframe(graph, args)
  668. > return frame.eval()
  669. rpython\rtyper\llinterp.py:643:
  670. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  671. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237F10>
  672. def eval(self):
  673. graph = self.graph
  674. tracer = self.llinterpreter.tracer
  675. if tracer:
  676. tracer.enter(graph)
  677. self.llinterpreter.frame_stack.append(self)
  678. try:
  679. try:
  680. nextblock = graph.startblock
  681. args = self.args
  682. while 1:
  683. self.clear()
  684. self.fillvars(nextblock, args)
  685. > nextblock, args = self.eval_block(nextblock)
  686. rpython\rtyper\llinterp.py:254:
  687. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  688. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237F10>
  689. block = block@-1 with 1 exits
  690. def eval_block(self, block):
  691. """ return (nextblock, values) tuple. If nextblock
  692. is None, values is the concrete return value.
  693. """
  694. self.curr_block = block
  695. catch_exception = block.exitswitch == c_last_exception
  696. e = None
  697. try:
  698. for i, op in enumerate(block.operations):
  699. self.curr_operation_index = i
  700. > self.eval_operation(op)
  701. rpython\rtyper\llinterp.py:279:
  702. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  703. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237F10>
  704. operation = v23829 = direct_call((<* fn ll_os.ll_os_write>), (1), v23828)
  705. def eval_operation(self, operation):
  706. tracer = self.llinterpreter.tracer
  707. if tracer:
  708. tracer.dump(str(operation))
  709. ophandler = self.getoperationhandler(operation.opname)
  710. # XXX slighly unnice but an important safety check
  711. if operation.opname == 'direct_call':
  712. assert isinstance(operation.args[0], Constant)
  713. elif operation.opname == 'indirect_call':
  714. assert isinstance(operation.args[0], Variable)
  715. if getattr(ophandler, 'specialform', False):
  716. retval = ophandler(*operation.args)
  717. else:
  718. vals = [self.getval(x) for x in operation.args]
  719. if getattr(ophandler, 'need_result_type', False):
  720. vals.insert(0, operation.result.concretetype)
  721. try:
  722. > retval = ophandler(*vals)
  723. rpython\rtyper\llinterp.py:388:
  724. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  725. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237F10>
  726. f = <* fn ll_os.ll_os_write>
  727. def op_direct_call(self, f, *args):
  728. FTYPE = self.llinterpreter.typer.type_system.derefType(lltype.typeOf(f))
  729. > return self.perform_call(f, FTYPE.ARGS, args)
  730. rpython\rtyper\llinterp.py:647:
  731. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  732. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237F10>
  733. f = <* fn ll_os.ll_os_write>
  734. ARGS = (<Signed>, <* GcStruct rpy_string { hash, chars }>)
  735. args = (1, <* <C object GcStruct rpy_string { hash, chars } at 0x8d54378>>)
  736. def perform_call(self, f, ARGS, args):
  737. fobj = self.llinterpreter.typer.type_system.deref(f)
  738. has_callable = getattr(fobj, '_callable', None) is not None
  739. if hasattr(fobj, 'graph'):
  740. graph = fobj.graph
  741. else:
  742. assert has_callable, "don't know how to execute %r" % f
  743. return self.invoke_callable_with_pyexceptions(f, *args)
  744. args_v = graph.getargs()
  745. if len(ARGS) != len(args_v):
  746. raise TypeError("graph with %d args called with wrong func ptr type: %r" %(len(args_v), ARGS))
  747. for T, v in zip(ARGS, args_v):
  748. if not lltype.isCompatibleType(T, v.concretetype):
  749. raise TypeError("graph with %r args called with wrong func ptr type: %r" %
  750. (tuple([v.concretetype for v in args_v]), ARGS))
  751. frame = self.newsubframe(graph, args)
  752. > return frame.eval()
  753. rpython\rtyper\llinterp.py:643:
  754. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  755. self = <rpython.rtyper.llinterp.LLFrame object at 0x0921FEB0>
  756. def eval(self):
  757. graph = self.graph
  758. tracer = self.llinterpreter.tracer
  759. if tracer:
  760. tracer.enter(graph)
  761. self.llinterpreter.frame_stack.append(self)
  762. try:
  763. try:
  764. nextblock = graph.startblock
  765. args = self.args
  766. while 1:
  767. self.clear()
  768. self.fillvars(nextblock, args)
  769. > nextblock, args = self.eval_block(nextblock)
  770. rpython\rtyper\llinterp.py:254:
  771. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  772. self = <rpython.rtyper.llinterp.LLFrame object at 0x0921FEB0>
  773. block = block@-1 with 2 exits(last_exception)
  774. def eval_block(self, block):
  775. """ return (nextblock, values) tuple. If nextblock
  776. is None, values is the concrete return value.
  777. """
  778. self.curr_block = block
  779. catch_exception = block.exitswitch == c_last_exception
  780. e = None
  781. try:
  782. for i, op in enumerate(block.operations):
  783. self.curr_operation_index = i
  784. > self.eval_operation(op)
  785. rpython\rtyper\llinterp.py:279:
  786. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  787. self = <rpython.rtyper.llinterp.LLFrame object at 0x0921FEB0>
  788. operation = v23893 = direct_call((<* fn _write__Signed_a...star_3>), v23890, v23891, v23892)
  789. def eval_operation(self, operation):
  790. tracer = self.llinterpreter.tracer
  791. if tracer:
  792. tracer.dump(str(operation))
  793. ophandler = self.getoperationhandler(operation.opname)
  794. # XXX slighly unnice but an important safety check
  795. if operation.opname == 'direct_call':
  796. assert isinstance(operation.args[0], Constant)
  797. elif operation.opname == 'indirect_call':
  798. assert isinstance(operation.args[0], Variable)
  799. if getattr(ophandler, 'specialform', False):
  800. retval = ophandler(*operation.args)
  801. else:
  802. vals = [self.getval(x) for x in operation.args]
  803. if getattr(ophandler, 'need_result_type', False):
  804. vals.insert(0, operation.result.concretetype)
  805. try:
  806. > retval = ophandler(*vals)
  807. rpython\rtyper\llinterp.py:388:
  808. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  809. self = <rpython.rtyper.llinterp.LLFrame object at 0x0921FEB0>
  810. f = <* fn _write__Signed_arrayPtr_Unsigned_star_3>
  811. def op_direct_call(self, f, *args):
  812. FTYPE = self.llinterpreter.typer.type_system.derefType(lltype.typeOf(f))
  813. > return self.perform_call(f, FTYPE.ARGS, args)
  814. rpython\rtyper\llinterp.py:647:
  815. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  816. self = <rpython.rtyper.llinterp.LLFrame object at 0x0921FEB0>
  817. f = <* fn _write__Signed_arrayPtr_Unsigned_star_3>
  818. ARGS = (<Signed>, <* Array of Char >, <Unsigned>)
  819. args = (1, <* <C object Array of Char at 0x8d54380>>, 2L)
  820. def perform_call(self, f, ARGS, args):
  821. fobj = self.llinterpreter.typer.type_system.deref(f)
  822. has_callable = getattr(fobj, '_callable', None) is not None
  823. if hasattr(fobj, 'graph'):
  824. graph = fobj.graph
  825. else:
  826. assert has_callable, "don't know how to execute %r" % f
  827. return self.invoke_callable_with_pyexceptions(f, *args)
  828. args_v = graph.getargs()
  829. if len(ARGS) != len(args_v):
  830. raise TypeError("graph with %d args called with wrong func ptr type: %r" %(len(args_v), ARGS))
  831. for T, v in zip(ARGS, args_v):
  832. if not lltype.isCompatibleType(T, v.concretetype):
  833. raise TypeError("graph with %r args called with wrong func ptr type: %r" %
  834. (tuple([v.concretetype for v in args_v]), ARGS))
  835. frame = self.newsubframe(graph, args)
  836. > return frame.eval()
  837. rpython\rtyper\llinterp.py:643:
  838. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  839. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237ED0>
  840. def eval(self):
  841. graph = self.graph
  842. tracer = self.llinterpreter.tracer
  843. if tracer:
  844. tracer.enter(graph)
  845. self.llinterpreter.frame_stack.append(self)
  846. try:
  847. try:
  848. nextblock = graph.startblock
  849. args = self.args
  850. while 1:
  851. self.clear()
  852. self.fillvars(nextblock, args)
  853. > nextblock, args = self.eval_block(nextblock)
  854. rpython\rtyper\llinterp.py:254:
  855. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  856. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237ED0>
  857. block = block@-1 with 1 exits
  858. def eval_block(self, block):
  859. """ return (nextblock, values) tuple. If nextblock
  860. is None, values is the concrete return value.
  861. """
  862. self.curr_block = block
  863. catch_exception = block.exitswitch == c_last_exception
  864. e = None
  865. try:
  866. for i, op in enumerate(block.operations):
  867. self.curr_operation_index = i
  868. > self.eval_operation(op)
  869. rpython\rtyper\llinterp.py:279:
  870. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  871. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237ED0>
  872. operation = v23907 = malloc((GcStruct tuple1), ({'flavor': 'gc'}))
  873. def eval_operation(self, operation):
  874. tracer = self.llinterpreter.tracer
  875. if tracer:
  876. tracer.dump(str(operation))
  877. ophandler = self.getoperationhandler(operation.opname)
  878. # XXX slighly unnice but an important safety check
  879. if operation.opname == 'direct_call':
  880. assert isinstance(operation.args[0], Constant)
  881. elif operation.opname == 'indirect_call':
  882. assert isinstance(operation.args[0], Variable)
  883. if getattr(ophandler, 'specialform', False):
  884. retval = ophandler(*operation.args)
  885. else:
  886. vals = [self.getval(x) for x in operation.args]
  887. if getattr(ophandler, 'need_result_type', False):
  888. vals.insert(0, operation.result.concretetype)
  889. try:
  890. > retval = ophandler(*vals)
  891. rpython\rtyper\llinterp.py:388:
  892. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  893. self = <rpython.rtyper.llinterp.LLFrame object at 0x09237ED0>
  894. obj = <GcStruct tuple1 { item0 }>, flags = {'flavor': 'gc'}
  895. def op_malloc(self, obj, flags):
  896. flavor = flags['flavor']
  897. zero = flags.get('zero', False)
  898. track_allocation = flags.get('track_allocation', True)
  899. if flavor == "stack":
  900. result = self.heap.malloc(obj, zero=zero, flavor='raw')
  901. self.alloca_objects.append(result)
  902. return result
  903. ptr = self.heap.malloc(obj, zero=zero, flavor=flavor,
  904. > track_allocation=track_allocation)
  905. rpython\rtyper\llinterp.py:670:
  906. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  907. self = <rpython.memory.gcwrapper.GCManagedHeap object at 0x09180270>
  908. TYPE = <GcStruct tuple1 { item0 }>, n = None, flavor = 'gc', zero = False
  909. track_allocation = True
  910. def malloc(self, TYPE, n=None, flavor='gc', zero=False,
  911. track_allocation=True):
  912. if flavor == 'gc':
  913. typeid = self.get_type_id(TYPE)
  914. > addr = self.gc.malloc(typeid, n, zero=zero)
  915. rpython\memory\gcwrapper.py:51:
  916. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  917. self = <rpython.memory.gc.incminimark.IncrementalMiniMarkGC object at 0x092373F0>
  918. typeid = GroupMemberOffset(* <rpython.rtyper.lltypesystem.llgroup.group object at 0x092376F0>, 17)
  919. length = None, zero = False
  920. def malloc(self, typeid, length=0, zero=False):
  921. """For testing. The interface used by the gctransformer is
  922. the four malloc_[fixed,var]size[_clear]() functions.
  923. """
  924. # Rules about fallbacks in case of missing malloc methods:
  925. # * malloc_fixedsize_clear() and malloc_varsize_clear() are mandatory
  926. # * malloc_fixedsize() and malloc_varsize() fallback to the above
  927. # XXX: as of r49360, gctransformer.framework never inserts calls
  928. # to malloc_varsize(), but always uses malloc_varsize_clear()
  929. size = self.fixed_size(typeid)
  930. needs_finalizer = bool(self.getfinalizer(typeid))
  931. finalizer_is_light = bool(self.getlightfinalizer(typeid))
  932. contains_weakptr = self.weakpointer_offset(typeid) >= 0
  933. assert not (needs_finalizer and contains_weakptr)
  934. if self.is_varsize(typeid):
  935. assert not contains_weakptr
  936. assert not needs_finalizer
  937. itemsize = self.varsize_item_sizes(typeid)
  938. offset_to_length = self.varsize_offset_to_length(typeid)
  939. if zero or not hasattr(self, 'malloc_varsize'):
  940. malloc_varsize = self.malloc_varsize_clear
  941. else:
  942. malloc_varsize = self.malloc_varsize
  943. ref = malloc_varsize(typeid, length, size, itemsize,
  944. offset_to_length)
  945. else:
  946. if zero or not hasattr(self, 'malloc_fixedsize'):
  947. malloc_fixedsize = self.malloc_fixedsize_clear
  948. else:
  949. malloc_fixedsize = self.malloc_fixedsize
  950. ref = malloc_fixedsize(typeid, size, needs_finalizer,
  951. finalizer_is_light,
  952. > contains_weakptr)
  953. rpython\memory\gc\base.py:166:
  954. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  955. self = <rpython.memory.gc.incminimark.IncrementalMiniMarkGC object at 0x092373F0>
  956. typeid = GroupMemberOffset(* <rpython.rtyper.lltypesystem.llgroup.group object at 0x092376F0>, 17)
  957. size = < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 >
  958. needs_finalizer = False, is_finalizer_light = False, contains_weakptr = False
  959. def malloc_fixedsize_clear(self, typeid, size,
  960. needs_finalizer=False,
  961. is_finalizer_light=False,
  962. contains_weakptr=False):
  963. size_gc_header = self.gcheaderbuilder.size_gc_header
  964. totalsize = size_gc_header + size
  965. rawtotalsize = raw_malloc_usage(totalsize)
  966. #
  967. # If the object needs a finalizer, ask for a rawmalloc.
  968. # The following check should be constant-folded.
  969. if needs_finalizer and not is_finalizer_light:
  970. ll_assert(not contains_weakptr,
  971. "'needs_finalizer' and 'contains_weakptr' both specified")
  972. obj = self.external_malloc(typeid, 0, can_make_young=False)
  973. self.objects_with_finalizers.append(obj)
  974. #
  975. # If totalsize is greater than nonlarge_max (which should never be
  976. # the case in practice), ask for a rawmalloc. The following check
  977. # should be constant-folded.
  978. elif rawtotalsize > self.nonlarge_max:
  979. ll_assert(not contains_weakptr,
  980. "'contains_weakptr' specified for a large object")
  981. obj = self.external_malloc(typeid, 0)
  982. #
  983. else:
  984. # If totalsize is smaller than minimal_size_in_nursery, round it
  985. # up. The following check should also be constant-folded.
  986. min_size = raw_malloc_usage(self.minimal_size_in_nursery)
  987. if rawtotalsize < min_size:
  988. totalsize = rawtotalsize = min_size
  989. #
  990. # Get the memory from the nursery. If there is not enough space
  991. # there, do a collect first.
  992. result = self.nursery_free
  993. > self.nursery_free = result + totalsize
  994. rpython\memory\gc\incminimark.py:598:
  995. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  996. self = <arenaaddr <Arena #1464 [160 bytes]> + 44>
  997. other = < < GCHeaderOffset > + < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 > >
  998. def __add__(self, other):
  999. if is_valid_int(other):
  1000. position = self.offset + other
  1001. elif isinstance(other, llmemory.AddressOffset):
  1002. # this is really some Do What I Mean logic. There are two
  1003. # possible meanings: either we want to go past the current
  1004. # object in the arena, or we want to take the address inside
  1005. # the current object. Try to guess...
  1006. bytes = llmemory.raw_malloc_usage(other)
  1007. if (self.offset in self.arena.objectsizes and
  1008. bytes < self.arena.objectsizes[self.offset]):
  1009. # looks like we mean "inside the object"
  1010. > return llmemory.fakeaddress.__add__(self, other)
  1011. rpython\rtyper\lltypesystem\llarena.py:177:
  1012. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1013. self = <arenaaddr <Arena #1464 [160 bytes]> + 44>
  1014. other = < < GCHeaderOffset > + < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 > >
  1015. def __add__(self, other):
  1016. if isinstance(other, AddressOffset):
  1017. if self.ptr is None:
  1018. raise NullAddressError("offset from NULL address")
  1019. > return fakeaddress(other.ref(self.ptr))
  1020. rpython\rtyper\lltypesystem\llmemory.py:439:
  1021. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1022. self = < < GCHeaderOffset > + < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 > >
  1023. ptr = <* <C object GcStruct rpy_string { hash, chars } at 0x8d54378>>
  1024. def ref(self, ptr):
  1025. for item in self.offsets:
  1026. > ptr = item.ref(ptr)
  1027. rpython\rtyper\lltypesystem\llmemory.py:252:
  1028. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1029. self = < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 >
  1030. ptr = <* <C object GcStruct rpy_string { hash, chars } at 0x8d54378>>
  1031. def ref(self, ptr):
  1032. > return self.basesize.ref(ptr)
  1033. rpython\rtyper\lltypesystem\llarena.py:299:
  1034. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1035. self = <ItemOffset <GcStruct tuple1 { item0 }> 1>
  1036. firstitemptr = <* <C object GcStruct rpy_string { hash, chars } at 0x8d54378>>
  1037. def ref(self, firstitemptr):
  1038. A = lltype.typeOf(firstitemptr).TO
  1039. if A == self.TYPE:
  1040. # for array of containers
  1041. parent, index = lltype.parentlink(firstitemptr._obj)
  1042. assert parent, "%r is not within a container" % (firstitemptr,)
  1043. assert isinstance(lltype.typeOf(parent),
  1044. (lltype.Array, lltype.FixedSizeArray)), (
  1045. "%r is not within an array" % (firstitemptr,))
  1046. if isinstance(index, str):
  1047. assert index.startswith('item') # itemN => N
  1048. index = int(index[4:])
  1049. index += self.repeat
  1050. if index == parent.getlength():
  1051. # for references exactly to the end of the array
  1052. try:
  1053. endmarker = _end_markers[parent]
  1054. except KeyError:
  1055. endmarker = _endmarker_struct(A, parent=parent,
  1056. parentindex=index)
  1057. _end_markers[parent] = endmarker
  1058. return endmarker._as_ptr()
  1059. else:
  1060. return parent.getitem(index)._as_ptr()
  1061. elif ((isinstance(A, lltype.FixedSizeArray)
  1062. or (isinstance(A, lltype.Array) and A._hints.get('nolength',
  1063. False)))
  1064. and array_item_type_match(A.OF, self.TYPE)):
  1065. # for array of primitives or pointers
  1066. return lltype.direct_ptradd(firstitemptr, self.repeat)
  1067. else:
  1068. > raise TypeError('got %r, expected %r' % (A, self.TYPE))
  1069. E TypeError: got <GcStruct rpy_string { hash, chars }>, expected <GcStruct tuple1 { item0 }>
  1070. rpython\rtyper\lltypesystem\llmemory.py:106: TypeError
  1071. ------------------------------- Captured stdout --------------------------------
  1072. 0
  1073. 1
  1074. 2
  1075. [llinterp:error] AN ERROR OCCURED: got <GcStruct rpy_string { hash, chars }>, expected <GcStruct tuple1 { item0 }>
  1076. [llinterp:traceback] f() rpython.memory.test.gc_test_base
  1077. [llinterp:traceback] v23644 = direct_call((<* fn ll_str__IntegerR...Signed>), (<IntegerRepr Signed>), v23643)
  1078. [llinterp:traceback] v23671 = direct_call((<* fn rpython_print_item>), v23644)
  1079. [llinterp:traceback] E v23760 = direct_call((<* fn rpython_print_newline>))
  1080. [llinterp:traceback] rpython_print_newline() rpython.flowspace.specialcase
  1081. [llinterp:traceback] E v23829 = direct_call((<* fn ll_os.ll_os_write>), (1), v23828)
  1082. [llinterp:traceback] os_write_llimpl() rpython.rtyper.module.ll_os
  1083. [llinterp:traceback] E v23893 = direct_call((<* fn _write__Signed_a...star_3>), v23890, v23891, v23892)
  1084. [llinterp:traceback] _write__Signed_arrayPtr_Unsigned_star_3() rpython.rtyper.lltypesystem.rffi
  1085. [llinterp:traceback] E v23907 = malloc((GcStruct tuple1), ({'flavor': 'gc'}))
  1086. [llinterp:traceback] v23909 = setfield(v23907, ('item0'), v23908)
  1087. [llinterp:traceback] v23911 = getfield(v23910, ('item0'))
  1088. [llinterp:traceback] v23912 = getfield(v23907, ('item0'))
  1089. [llinterp:traceback] v23913 = malloc((GcStruct tuple2), ({'flavor': 'gc'}))
  1090. [llinterp:traceback] v23914 = setfield(v23913, ('item0'), v23911)
  1091. [llinterp:traceback] v23915 = setfield(v23913, ('item1'), v23912)
  1092. [llinterp:traceback] v23916 = getfield(args_161, ('item2'))
  1093. [llinterp:traceback] v23917 = direct_call((<* fn memo__isfunctype_0>), (Number Unsigned))
  1094. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1095. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1096. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1097. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1098. ------------------------------- Captured stderr --------------------------------
  1099. [platform:error] Could not find a Microsoft Compiler
  1100. [rtyper] specializing: 100 / 209 blocks (47%)
  1101. [rtyper] specializing: 200 / 209 blocks (95%)
  1102. [rtyper] -=- specialized 209 blocks -=-
  1103. [rtyper] -=- specialized 85 more blocks -=-
  1104. [rtyper] specializing: 300 / 301 blocks (99%)
  1105. [rtyper] -=- specialized 7 more blocks -=-
  1106. [5466] {gc-set-nursery-size
  1107. nursery size: 128
  1108. [5466] gc-set-nursery-size}
  1109. [5468] {gc-minor
  1110. [5468] {gc-minor-walkroots
  1111. [5468] gc-minor-walkroots}
  1112. minor collect, total memory used: 56
  1113. number of pinned objects: 0
  1114. [5469] gc-minor}
  1115. [546a] {gc-minor
  1116. [546a] {gc-minor-walkroots
  1117. [546a] gc-minor-walkroots}
  1118. minor collect, total memory used: 96
  1119. number of pinned objects: 0
  1120. [546a] gc-minor}
  1121. [546c] {gc-minor
  1122. [546c] {gc-minor-walkroots
  1123. [546c] gc-minor-walkroots}
  1124. minor collect, total memory used: 136
  1125. number of pinned objects: 0
  1126. [546c] gc-minor}
  1127. [546e] {gc-minor
  1128. [546e] {gc-minor-walkroots
  1129. [546e] gc-minor-walkroots}
  1130. minor collect, total memory used: 136
  1131. number of pinned objects: 0
  1132. [546e] gc-minor}
  1133. [5470] {gc-minor
  1134. [5470] {gc-minor-walkroots
  1135. [5470] gc-minor-walkroots}
  1136. minor collect, total memory used: 168
  1137. number of pinned objects: 0
  1138. [5470] gc-minor}
  1139. [5471] {gc-minor
  1140. [5471] {gc-minor-walkroots
  1141. [5472] gc-minor-walkroots}
  1142. minor collect, total memory used: 184
  1143. number of pinned objects: 0
  1144. [5472] gc-minor}
  1145. [5473] {gc-minor
  1146. [5473] {gc-minor-walkroots
  1147. [5474] gc-minor-walkroots}
  1148. minor collect, total memory used: 204
  1149. number of pinned objects: 1
  1150. [5474] gc-minor}
  1151. _____________ TestIncrementalMiniMarkGCCardMarking.test_print_leak _____________
  1152. self = <rpython.memory.test.test_incminimark_gc_cardmarking.TestIncrementalMiniMarkGCCardMarking object at 0x0A28CD10>
  1153. def test_print_leak(self):
  1154. def f(n):
  1155. for i in range(n):
  1156. print i
  1157. return 42
  1158. > res = self.interpret(f, [10])
  1159. rpython\memory\test\gc_test_base.py:523:
  1160. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1161. self = <rpython.memory.test.test_incminimark_gc_cardmarking.TestIncrementalMiniMarkGCCardMarking object at 0x0A28CD10>
  1162. func = <function f at 0x0A1CDB70>, values = [10]
  1163. def interpret(self, func, values, **kwds):
  1164. interp, graph = get_interpreter(func, values, **kwds)
  1165. gcwrapper.prepare_graphs_and_create_gc(interp, self.GCClass,
  1166. self.GC_PARAMS)
  1167. > return interp.eval_graph(graph, values)
  1168. rpython\memory\test\gc_test_base.py:47:
  1169. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1170. self = <rpython.rtyper.llinterp.LLInterpreter object at 0x0A4005D0>
  1171. graph = <FunctionGraph of (rpython.memory.test.gc_test_base:519)f at 0xa22b530>
  1172. args = [10], recursive = False
  1173. def eval_graph(self, graph, args=(), recursive=False):
  1174. llframe = self.frame_class(graph, args, self)
  1175. if self.tracer and not recursive:
  1176. global tracer1
  1177. tracer1 = self.tracer
  1178. self.tracer.start()
  1179. retval = None
  1180. self.traceback_frames = []
  1181. old_frame_stack = self.frame_stack[:]
  1182. prev_interpreter = LLInterpreter.current_interpreter
  1183. LLInterpreter.current_interpreter = self
  1184. try:
  1185. try:
  1186. > retval = llframe.eval()
  1187. rpython\rtyper\llinterp.py:77:
  1188. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1189. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413090>
  1190. def eval(self):
  1191. graph = self.graph
  1192. tracer = self.llinterpreter.tracer
  1193. if tracer:
  1194. tracer.enter(graph)
  1195. self.llinterpreter.frame_stack.append(self)
  1196. try:
  1197. try:
  1198. nextblock = graph.startblock
  1199. args = self.args
  1200. while 1:
  1201. self.clear()
  1202. self.fillvars(nextblock, args)
  1203. > nextblock, args = self.eval_block(nextblock)
  1204. rpython\rtyper\llinterp.py:254:
  1205. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1206. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413090>
  1207. block = block@-1 with 1 exits
  1208. def eval_block(self, block):
  1209. """ return (nextblock, values) tuple. If nextblock
  1210. is None, values is the concrete return value.
  1211. """
  1212. self.curr_block = block
  1213. catch_exception = block.exitswitch == c_last_exception
  1214. e = None
  1215. try:
  1216. for i, op in enumerate(block.operations):
  1217. self.curr_operation_index = i
  1218. > self.eval_operation(op)
  1219. rpython\rtyper\llinterp.py:279:
  1220. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1221. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413090>
  1222. operation = v29490 = direct_call((<* fn rpython_print_newline>))
  1223. def eval_operation(self, operation):
  1224. tracer = self.llinterpreter.tracer
  1225. if tracer:
  1226. tracer.dump(str(operation))
  1227. ophandler = self.getoperationhandler(operation.opname)
  1228. # XXX slighly unnice but an important safety check
  1229. if operation.opname == 'direct_call':
  1230. assert isinstance(operation.args[0], Constant)
  1231. elif operation.opname == 'indirect_call':
  1232. assert isinstance(operation.args[0], Variable)
  1233. if getattr(ophandler, 'specialform', False):
  1234. retval = ophandler(*operation.args)
  1235. else:
  1236. vals = [self.getval(x) for x in operation.args]
  1237. if getattr(ophandler, 'need_result_type', False):
  1238. vals.insert(0, operation.result.concretetype)
  1239. try:
  1240. > retval = ophandler(*vals)
  1241. rpython\rtyper\llinterp.py:388:
  1242. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1243. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413090>
  1244. f = <* fn rpython_print_newline>
  1245. def op_direct_call(self, f, *args):
  1246. FTYPE = self.llinterpreter.typer.type_system.derefType(lltype.typeOf(f))
  1247. > return self.perform_call(f, FTYPE.ARGS, args)
  1248. rpython\rtyper\llinterp.py:647:
  1249. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1250. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413090>
  1251. f = <* fn rpython_print_newline>, ARGS = (), args = ()
  1252. def perform_call(self, f, ARGS, args):
  1253. fobj = self.llinterpreter.typer.type_system.deref(f)
  1254. has_callable = getattr(fobj, '_callable', None) is not None
  1255. if hasattr(fobj, 'graph'):
  1256. graph = fobj.graph
  1257. else:
  1258. assert has_callable, "don't know how to execute %r" % f
  1259. return self.invoke_callable_with_pyexceptions(f, *args)
  1260. args_v = graph.getargs()
  1261. if len(ARGS) != len(args_v):
  1262. raise TypeError("graph with %d args called with wrong func ptr type: %r" %(len(args_v), ARGS))
  1263. for T, v in zip(ARGS, args_v):
  1264. if not lltype.isCompatibleType(T, v.concretetype):
  1265. raise TypeError("graph with %r args called with wrong func ptr type: %r" %
  1266. (tuple([v.concretetype for v in args_v]), ARGS))
  1267. frame = self.newsubframe(graph, args)
  1268. > return frame.eval()
  1269. rpython\rtyper\llinterp.py:643:
  1270. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1271. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A3EA950>
  1272. def eval(self):
  1273. graph = self.graph
  1274. tracer = self.llinterpreter.tracer
  1275. if tracer:
  1276. tracer.enter(graph)
  1277. self.llinterpreter.frame_stack.append(self)
  1278. try:
  1279. try:
  1280. nextblock = graph.startblock
  1281. args = self.args
  1282. while 1:
  1283. self.clear()
  1284. self.fillvars(nextblock, args)
  1285. > nextblock, args = self.eval_block(nextblock)
  1286. rpython\rtyper\llinterp.py:254:
  1287. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1288. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A3EA950>
  1289. block = block@-1 with 1 exits
  1290. def eval_block(self, block):
  1291. """ return (nextblock, values) tuple. If nextblock
  1292. is None, values is the concrete return value.
  1293. """
  1294. self.curr_block = block
  1295. catch_exception = block.exitswitch == c_last_exception
  1296. e = None
  1297. try:
  1298. for i, op in enumerate(block.operations):
  1299. self.curr_operation_index = i
  1300. > self.eval_operation(op)
  1301. rpython\rtyper\llinterp.py:279:
  1302. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1303. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A3EA950>
  1304. operation = v29559 = direct_call((<* fn ll_os.ll_os_write>), (1), v29558)
  1305. def eval_operation(self, operation):
  1306. tracer = self.llinterpreter.tracer
  1307. if tracer:
  1308. tracer.dump(str(operation))
  1309. ophandler = self.getoperationhandler(operation.opname)
  1310. # XXX slighly unnice but an important safety check
  1311. if operation.opname == 'direct_call':
  1312. assert isinstance(operation.args[0], Constant)
  1313. elif operation.opname == 'indirect_call':
  1314. assert isinstance(operation.args[0], Variable)
  1315. if getattr(ophandler, 'specialform', False):
  1316. retval = ophandler(*operation.args)
  1317. else:
  1318. vals = [self.getval(x) for x in operation.args]
  1319. if getattr(ophandler, 'need_result_type', False):
  1320. vals.insert(0, operation.result.concretetype)
  1321. try:
  1322. > retval = ophandler(*vals)
  1323. rpython\rtyper\llinterp.py:388:
  1324. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1325. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A3EA950>
  1326. f = <* fn ll_os.ll_os_write>
  1327. def op_direct_call(self, f, *args):
  1328. FTYPE = self.llinterpreter.typer.type_system.derefType(lltype.typeOf(f))
  1329. > return self.perform_call(f, FTYPE.ARGS, args)
  1330. rpython\rtyper\llinterp.py:647:
  1331. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1332. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A3EA950>
  1333. f = <* fn ll_os.ll_os_write>
  1334. ARGS = (<Signed>, <* GcStruct rpy_string { hash, chars }>)
  1335. args = (1, <* <C object GcStruct rpy_string { hash, chars } at 0x9e14468>>)
  1336. def perform_call(self, f, ARGS, args):
  1337. fobj = self.llinterpreter.typer.type_system.deref(f)
  1338. has_callable = getattr(fobj, '_callable', None) is not None
  1339. if hasattr(fobj, 'graph'):
  1340. graph = fobj.graph
  1341. else:
  1342. assert has_callable, "don't know how to execute %r" % f
  1343. return self.invoke_callable_with_pyexceptions(f, *args)
  1344. args_v = graph.getargs()
  1345. if len(ARGS) != len(args_v):
  1346. raise TypeError("graph with %d args called with wrong func ptr type: %r" %(len(args_v), ARGS))
  1347. for T, v in zip(ARGS, args_v):
  1348. if not lltype.isCompatibleType(T, v.concretetype):
  1349. raise TypeError("graph with %r args called with wrong func ptr type: %r" %
  1350. (tuple([v.concretetype for v in args_v]), ARGS))
  1351. frame = self.newsubframe(graph, args)
  1352. > return frame.eval()
  1353. rpython\rtyper\llinterp.py:643:
  1354. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1355. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A40A530>
  1356. def eval(self):
  1357. graph = self.graph
  1358. tracer = self.llinterpreter.tracer
  1359. if tracer:
  1360. tracer.enter(graph)
  1361. self.llinterpreter.frame_stack.append(self)
  1362. try:
  1363. try:
  1364. nextblock = graph.startblock
  1365. args = self.args
  1366. while 1:
  1367. self.clear()
  1368. self.fillvars(nextblock, args)
  1369. > nextblock, args = self.eval_block(nextblock)
  1370. rpython\rtyper\llinterp.py:254:
  1371. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1372. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A40A530>
  1373. block = block@-1 with 2 exits(last_exception)
  1374. def eval_block(self, block):
  1375. """ return (nextblock, values) tuple. If nextblock
  1376. is None, values is the concrete return value.
  1377. """
  1378. self.curr_block = block
  1379. catch_exception = block.exitswitch == c_last_exception
  1380. e = None
  1381. try:
  1382. for i, op in enumerate(block.operations):
  1383. self.curr_operation_index = i
  1384. > self.eval_operation(op)
  1385. rpython\rtyper\llinterp.py:279:
  1386. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1387. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A40A530>
  1388. operation = v29623 = direct_call((<* fn _write__Signed_a...star_3>), v29620, v29621, v29622)
  1389. def eval_operation(self, operation):
  1390. tracer = self.llinterpreter.tracer
  1391. if tracer:
  1392. tracer.dump(str(operation))
  1393. ophandler = self.getoperationhandler(operation.opname)
  1394. # XXX slighly unnice but an important safety check
  1395. if operation.opname == 'direct_call':
  1396. assert isinstance(operation.args[0], Constant)
  1397. elif operation.opname == 'indirect_call':
  1398. assert isinstance(operation.args[0], Variable)
  1399. if getattr(ophandler, 'specialform', False):
  1400. retval = ophandler(*operation.args)
  1401. else:
  1402. vals = [self.getval(x) for x in operation.args]
  1403. if getattr(ophandler, 'need_result_type', False):
  1404. vals.insert(0, operation.result.concretetype)
  1405. try:
  1406. > retval = ophandler(*vals)
  1407. rpython\rtyper\llinterp.py:388:
  1408. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1409. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A40A530>
  1410. f = <* fn _write__Signed_arrayPtr_Unsigned_star_3>
  1411. def op_direct_call(self, f, *args):
  1412. FTYPE = self.llinterpreter.typer.type_system.derefType(lltype.typeOf(f))
  1413. > return self.perform_call(f, FTYPE.ARGS, args)
  1414. rpython\rtyper\llinterp.py:647:
  1415. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1416. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A40A530>
  1417. f = <* fn _write__Signed_arrayPtr_Unsigned_star_3>
  1418. ARGS = (<Signed>, <* Array of Char >, <Unsigned>)
  1419. args = (1, <* <C object Array of Char at 0x9e14470>>, 2L)
  1420. def perform_call(self, f, ARGS, args):
  1421. fobj = self.llinterpreter.typer.type_system.deref(f)
  1422. has_callable = getattr(fobj, '_callable', None) is not None
  1423. if hasattr(fobj, 'graph'):
  1424. graph = fobj.graph
  1425. else:
  1426. assert has_callable, "don't know how to execute %r" % f
  1427. return self.invoke_callable_with_pyexceptions(f, *args)
  1428. args_v = graph.getargs()
  1429. if len(ARGS) != len(args_v):
  1430. raise TypeError("graph with %d args called with wrong func ptr type: %r" %(len(args_v), ARGS))
  1431. for T, v in zip(ARGS, args_v):
  1432. if not lltype.isCompatibleType(T, v.concretetype):
  1433. raise TypeError("graph with %r args called with wrong func ptr type: %r" %
  1434. (tuple([v.concretetype for v in args_v]), ARGS))
  1435. frame = self.newsubframe(graph, args)
  1436. > return frame.eval()
  1437. rpython\rtyper\llinterp.py:643:
  1438. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1439. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413F90>
  1440. def eval(self):
  1441. graph = self.graph
  1442. tracer = self.llinterpreter.tracer
  1443. if tracer:
  1444. tracer.enter(graph)
  1445. self.llinterpreter.frame_stack.append(self)
  1446. try:
  1447. try:
  1448. nextblock = graph.startblock
  1449. args = self.args
  1450. while 1:
  1451. self.clear()
  1452. self.fillvars(nextblock, args)
  1453. > nextblock, args = self.eval_block(nextblock)
  1454. rpython\rtyper\llinterp.py:254:
  1455. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1456. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413F90>
  1457. block = block@-1 with 1 exits
  1458. def eval_block(self, block):
  1459. """ return (nextblock, values) tuple. If nextblock
  1460. is None, values is the concrete return value.
  1461. """
  1462. self.curr_block = block
  1463. catch_exception = block.exitswitch == c_last_exception
  1464. e = None
  1465. try:
  1466. for i, op in enumerate(block.operations):
  1467. self.curr_operation_index = i
  1468. > self.eval_operation(op)
  1469. rpython\rtyper\llinterp.py:279:
  1470. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1471. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413F90>
  1472. operation = v29637 = malloc((GcStruct tuple1), ({'flavor': 'gc'}))
  1473. def eval_operation(self, operation):
  1474. tracer = self.llinterpreter.tracer
  1475. if tracer:
  1476. tracer.dump(str(operation))
  1477. ophandler = self.getoperationhandler(operation.opname)
  1478. # XXX slighly unnice but an important safety check
  1479. if operation.opname == 'direct_call':
  1480. assert isinstance(operation.args[0], Constant)
  1481. elif operation.opname == 'indirect_call':
  1482. assert isinstance(operation.args[0], Variable)
  1483. if getattr(ophandler, 'specialform', False):
  1484. retval = ophandler(*operation.args)
  1485. else:
  1486. vals = [self.getval(x) for x in operation.args]
  1487. if getattr(ophandler, 'need_result_type', False):
  1488. vals.insert(0, operation.result.concretetype)
  1489. try:
  1490. > retval = ophandler(*vals)
  1491. rpython\rtyper\llinterp.py:388:
  1492. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1493. self = <rpython.rtyper.llinterp.LLFrame object at 0x0A413F90>
  1494. obj = <GcStruct tuple1 { item0 }>, flags = {'flavor': 'gc'}
  1495. def op_malloc(self, obj, flags):
  1496. flavor = flags['flavor']
  1497. zero = flags.get('zero', False)
  1498. track_allocation = flags.get('track_allocation', True)
  1499. if flavor == "stack":
  1500. result = self.heap.malloc(obj, zero=zero, flavor='raw')
  1501. self.alloca_objects.append(result)
  1502. return result
  1503. ptr = self.heap.malloc(obj, zero=zero, flavor=flavor,
  1504. > track_allocation=track_allocation)
  1505. rpython\rtyper\llinterp.py:670:
  1506. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1507. self = <rpython.memory.gcwrapper.GCManagedHeap object at 0x0A40A790>
  1508. TYPE = <GcStruct tuple1 { item0 }>, n = None, flavor = 'gc', zero = False
  1509. track_allocation = True
  1510. def malloc(self, TYPE, n=None, flavor='gc', zero=False,
  1511. track_allocation=True):
  1512. if flavor == 'gc':
  1513. typeid = self.get_type_id(TYPE)
  1514. > addr = self.gc.malloc(typeid, n, zero=zero)
  1515. rpython\memory\gcwrapper.py:51:
  1516. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1517. self = <rpython.memory.gc.incminimark.IncrementalMiniMarkGC object at 0x0A40A7B0>
  1518. typeid = GroupMemberOffset(* <rpython.rtyper.lltypesystem.llgroup.group object at 0x0A40AAD0>, 17)
  1519. length = None, zero = False
  1520. def malloc(self, typeid, length=0, zero=False):
  1521. """For testing. The interface used by the gctransformer is
  1522. the four malloc_[fixed,var]size[_clear]() functions.
  1523. """
  1524. # Rules about fallbacks in case of missing malloc methods:
  1525. # * malloc_fixedsize_clear() and malloc_varsize_clear() are mandatory
  1526. # * malloc_fixedsize() and malloc_varsize() fallback to the above
  1527. # XXX: as of r49360, gctransformer.framework never inserts calls
  1528. # to malloc_varsize(), but always uses malloc_varsize_clear()
  1529. size = self.fixed_size(typeid)
  1530. needs_finalizer = bool(self.getfinalizer(typeid))
  1531. finalizer_is_light = bool(self.getlightfinalizer(typeid))
  1532. contains_weakptr = self.weakpointer_offset(typeid) >= 0
  1533. assert not (needs_finalizer and contains_weakptr)
  1534. if self.is_varsize(typeid):
  1535. assert not contains_weakptr
  1536. assert not needs_finalizer
  1537. itemsize = self.varsize_item_sizes(typeid)
  1538. offset_to_length = self.varsize_offset_to_length(typeid)
  1539. if zero or not hasattr(self, 'malloc_varsize'):
  1540. malloc_varsize = self.malloc_varsize_clear
  1541. else:
  1542. malloc_varsize = self.malloc_varsize
  1543. ref = malloc_varsize(typeid, length, size, itemsize,
  1544. offset_to_length)
  1545. else:
  1546. if zero or not hasattr(self, 'malloc_fixedsize'):
  1547. malloc_fixedsize = self.malloc_fixedsize_clear
  1548. else:
  1549. malloc_fixedsize = self.malloc_fixedsize
  1550. ref = malloc_fixedsize(typeid, size, needs_finalizer,
  1551. finalizer_is_light,
  1552. > contains_weakptr)
  1553. rpython\memory\gc\base.py:166:
  1554. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1555. self = <rpython.memory.gc.incminimark.IncrementalMiniMarkGC object at 0x0A40A7B0>
  1556. typeid = GroupMemberOffset(* <rpython.rtyper.lltypesystem.llgroup.group object at 0x0A40AAD0>, 17)
  1557. size = < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 >
  1558. needs_finalizer = False, is_finalizer_light = False, contains_weakptr = False
  1559. def malloc_fixedsize_clear(self, typeid, size,
  1560. needs_finalizer=False,
  1561. is_finalizer_light=False,
  1562. contains_weakptr=False):
  1563. size_gc_header = self.gcheaderbuilder.size_gc_header
  1564. totalsize = size_gc_header + size
  1565. rawtotalsize = raw_malloc_usage(totalsize)
  1566. #
  1567. # If the object needs a finalizer, ask for a rawmalloc.
  1568. # The following check should be constant-folded.
  1569. if needs_finalizer and not is_finalizer_light:
  1570. ll_assert(not contains_weakptr,
  1571. "'needs_finalizer' and 'contains_weakptr' both specified")
  1572. obj = self.external_malloc(typeid, 0, can_make_young=False)
  1573. self.objects_with_finalizers.append(obj)
  1574. #
  1575. # If totalsize is greater than nonlarge_max (which should never be
  1576. # the case in practice), ask for a rawmalloc. The following check
  1577. # should be constant-folded.
  1578. elif rawtotalsize > self.nonlarge_max:
  1579. ll_assert(not contains_weakptr,
  1580. "'contains_weakptr' specified for a large object")
  1581. obj = self.external_malloc(typeid, 0)
  1582. #
  1583. else:
  1584. # If totalsize is smaller than minimal_size_in_nursery, round it
  1585. # up. The following check should also be constant-folded.
  1586. min_size = raw_malloc_usage(self.minimal_size_in_nursery)
  1587. if rawtotalsize < min_size:
  1588. totalsize = rawtotalsize = min_size
  1589. #
  1590. # Get the memory from the nursery. If there is not enough space
  1591. # there, do a collect first.
  1592. result = self.nursery_free
  1593. > self.nursery_free = result + totalsize
  1594. rpython\memory\gc\incminimark.py:598:
  1595. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1596. self = <arenaaddr <Arena #2389 [160 bytes]> + 44>
  1597. other = < < GCHeaderOffset > + < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 > >
  1598. def __add__(self, other):
  1599. if is_valid_int(other):
  1600. position = self.offset + other
  1601. elif isinstance(other, llmemory.AddressOffset):
  1602. # this is really some Do What I Mean logic. There are two
  1603. # possible meanings: either we want to go past the current
  1604. # object in the arena, or we want to take the address inside
  1605. # the current object. Try to guess...
  1606. bytes = llmemory.raw_malloc_usage(other)
  1607. if (self.offset in self.arena.objectsizes and
  1608. bytes < self.arena.objectsizes[self.offset]):
  1609. # looks like we mean "inside the object"
  1610. > return llmemory.fakeaddress.__add__(self, other)
  1611. rpython\rtyper\lltypesystem\llarena.py:177:
  1612. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1613. self = <arenaaddr <Arena #2389 [160 bytes]> + 44>
  1614. other = < < GCHeaderOffset > + < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 > >
  1615. def __add__(self, other):
  1616. if isinstance(other, AddressOffset):
  1617. if self.ptr is None:
  1618. raise NullAddressError("offset from NULL address")
  1619. > return fakeaddress(other.ref(self.ptr))
  1620. rpython\rtyper\lltypesystem\llmemory.py:439:
  1621. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1622. self = < < GCHeaderOffset > + < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 > >
  1623. ptr = <* <C object GcStruct rpy_string { hash, chars } at 0x9e14468>>
  1624. def ref(self, ptr):
  1625. for item in self.offsets:
  1626. > ptr = item.ref(ptr)
  1627. rpython\rtyper\lltypesystem\llmemory.py:252:
  1628. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1629. self = < RoundedUpForAllocation <ItemOffset <GcStruct tuple1 { item0 }> 1> 0 >
  1630. ptr = <* <C object GcStruct rpy_string { hash, chars } at 0x9e14468>>
  1631. def ref(self, ptr):
  1632. > return self.basesize.ref(ptr)
  1633. rpython\rtyper\lltypesystem\llarena.py:299:
  1634. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  1635. self = <ItemOffset <GcStruct tuple1 { item0 }> 1>
  1636. firstitemptr = <* <C object GcStruct rpy_string { hash, chars } at 0x9e14468>>
  1637. def ref(self, firstitemptr):
  1638. A = lltype.typeOf(firstitemptr).TO
  1639. if A == self.TYPE:
  1640. # for array of containers
  1641. parent, index = lltype.parentlink(firstitemptr._obj)
  1642. assert parent, "%r is not within a container" % (firstitemptr,)
  1643. assert isinstance(lltype.typeOf(parent),
  1644. (lltype.Array, lltype.FixedSizeArray)), (
  1645. "%r is not within an array" % (firstitemptr,))
  1646. if isinstance(index, str):
  1647. assert index.startswith('item') # itemN => N
  1648. index = int(index[4:])
  1649. index += self.repeat
  1650. if index == parent.getlength():
  1651. # for references exactly to the end of the array
  1652. try:
  1653. endmarker = _end_markers[parent]
  1654. except KeyError:
  1655. endmarker = _endmarker_struct(A, parent=parent,
  1656. parentindex=index)
  1657. _end_markers[parent] = endmarker
  1658. return endmarker._as_ptr()
  1659. else:
  1660. return parent.getitem(index)._as_ptr()
  1661. elif ((isinstance(A, lltype.FixedSizeArray)
  1662. or (isinstance(A, lltype.Array) and A._hints.get('nolength',
  1663. False)))
  1664. and array_item_type_match(A.OF, self.TYPE)):
  1665. # for array of primitives or pointers
  1666. return lltype.direct_ptradd(firstitemptr, self.repeat)
  1667. else:
  1668. > raise TypeError('got %r, expected %r' % (A, self.TYPE))
  1669. E TypeError: got <GcStruct rpy_string { hash, chars }>, expected <GcStruct tuple1 { item0 }>
  1670. rpython\rtyper\lltypesystem\llmemory.py:106: TypeError
  1671. ------------------------------- Captured stdout --------------------------------
  1672. 0
  1673. 1
  1674. 2
  1675. [llinterp:error] AN ERROR OCCURED: got <GcStruct rpy_string { hash, chars }>, expected <GcStruct tuple1 { item0 }>
  1676. [llinterp:traceback] f() rpython.memory.test.gc_test_base
  1677. [llinterp:traceback] v29374 = direct_call((<* fn ll_str__IntegerR...Signed>), (<IntegerRepr Signed>), v29373)
  1678. [llinterp:traceback] v29401 = direct_call((<* fn rpython_print_item>), v29374)
  1679. [llinterp:traceback] E v29490 = direct_call((<* fn rpython_print_newline>))
  1680. [llinterp:traceback] rpython_print_newline() rpython.flowspace.specialcase
  1681. [llinterp:traceback] E v29559 = direct_call((<* fn ll_os.ll_os_write>), (1), v29558)
  1682. [llinterp:traceback] os_write_llimpl() rpython.rtyper.module.ll_os
  1683. [llinterp:traceback] E v29623 = direct_call((<* fn _write__Signed_a...star_3>), v29620, v29621, v29622)
  1684. [llinterp:traceback] _write__Signed_arrayPtr_Unsigned_star_3() rpython.rtyper.lltypesystem.rffi
  1685. [llinterp:traceback] E v29637 = malloc((GcStruct tuple1), ({'flavor': 'gc'}))
  1686. [llinterp:traceback] v29639 = setfield(v29637, ('item0'), v29638)
  1687. [llinterp:traceback] v29641 = getfield(v29640, ('item0'))
  1688. [llinterp:traceback] v29642 = getfield(v29637, ('item0'))
  1689. [llinterp:traceback] v29643 = malloc((GcStruct tuple2), ({'flavor': 'gc'}))
  1690. [llinterp:traceback] v29644 = setfield(v29643, ('item0'), v29641)
  1691. [llinterp:traceback] v29645 = setfield(v29643, ('item1'), v29642)
  1692. [llinterp:traceback] v29646 = getfield(args_196, ('item2'))
  1693. [llinterp:traceback] v29647 = direct_call((<* fn memo__isfunctype_0>), (Number Unsigned))
  1694. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1695. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1696. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1697. [llinterp:traceback] ll_strnext__stringiterPtr() rpython.rtyper.lltypesystem.rstr
  1698. ------------------------------- Captured stderr --------------------------------
  1699. [platform:error] Could not find a Microsoft Compiler
  1700. [rtyper] specializing: 100 / 209 blocks (47%)
  1701. [rtyper] specializing: 200 / 209 blocks (95%)
  1702. [rtyper] -=- specialized 209 blocks -=-
  1703. [rtyper] -=- specialized 85 more blocks -=-
  1704. [rtyper] specializing: 300 / 301 blocks (99%)
  1705. [rtyper] -=- specialized 7 more blocks -=-
  1706. [7684] {gc-set-nursery-size
  1707. nursery size: 128
  1708. [7684] gc-set-nursery-size}
  1709. [7686] {gc-minor
  1710. [7686] {gc-minor-walkroots
  1711. [7686] gc-minor-walkroots}
  1712. minor collect, total memory used: 56
  1713. number of pinned objects: 0
  1714. [7686] gc-minor}
  1715. [7687] {gc-minor
  1716. [7687] {gc-minor-walkroots
  1717. [7688] gc-minor-walkroots}
  1718. minor collect, total memory used: 96
  1719. number of pinned objects: 0
  1720. [7688] gc-minor}
  1721. [768a] {gc-minor
  1722. [768a] {gc-minor-walkroots
  1723. [768a] gc-minor-walkroots}
  1724. minor collect, total memory used: 136
  1725. number of pinned objects: 0
  1726. [768a] gc-minor}
  1727. [768b] {gc-minor
  1728. [768b] {gc-minor-walkroots
  1729. [768b] gc-minor-walkroots}
  1730. minor collect, total memory used: 136
  1731. number of pinned objects: 0
  1732. [768b] gc-minor}
  1733. [768d] {gc-minor
  1734. [768d] {gc-minor-walkroots
  1735. [768d] gc-minor-walkroots}
  1736. minor collect, total memory used: 168
  1737. number of pinned objects: 0
  1738. [768d] gc-minor}
  1739. [768f] {gc-minor
  1740. [768f] {gc-minor-walkroots
  1741. [768f] gc-minor-walkroots}
  1742. minor collect, total memory used: 184
  1743. number of pinned objects: 0
  1744. [768f] gc-minor}
  1745. [7690] {gc-minor
  1746. [7690] {gc-minor-walkroots
  1747. [7691] gc-minor-walkroots}
  1748. minor collect, total memory used: 204
  1749. number of pinned objects: 1
  1750. [7691] gc-minor}
  1751. =========================== short test summary info ============================
  1752. FAIL rpython/memory/test/test_incminimark_gc.py::TestIncrementalMiniMarkGC::()::test_print_leak
  1753. FAIL rpython/memory/test/test_incminimark_gc_cardmarking.py::TestIncrementalMiniMarkGCCardMarking::()::test_print_leak
  1754. ============== 2 failed, 524 passed, 18 skipped in 860.26 seconds ==============
  1755. [version:WARNING] Errors getting Mercurial information: Cannot find Mercurial command!
  1756. [platform:error] Could not find a Microsoft Compiler
  1757. [platform:error] Could not find a Microsoft Compiler
  1758. [platform:msg] Set platform with 'host' cc=None, using cc='cl.exe'
  1759.