Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

translator/c/test/test_boehm.py::TestUsingBoehm::()::test_finalizer_queue

self = <rpython.translator.c.test.test_boehm.TestUsingBoehm object at 0x0000000115b341e0>

    def test_finalizer_queue(self):
        class A(object):
            def __init__(self, i):
                self.i = i
        class Glob:
            triggered = 0
        glob = Glob()
        class FQ(rgc.FinalizerQueue):
            Class = A
            triggered = 0
            def finalizer_trigger(self):
                glob.triggered += 1
        fq = FQ()
        #
        def fn():
            for i in range(1000):
                x = A(i)
                fq.register_finalizer(x)
                rgc.may_ignore_finalizer(x)   # this is ignored with Boehm
            rgc.collect()
            rgc.collect()
            if glob.triggered == 0:
                print "not triggered!"
                return 50
            seen = {}
            while True:
                a = fq.next_dead()
                if a is None:
                    break
                assert a.i not in seen
                seen[a.i] = True
            if len(seen) < 500:
                print "seen only %d!" % len(seen)
                return 51
            return 42
    
>       f = self.getcompiled(fn)

translator/c/test/test_boehm.py:434: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
translator/c/test/test_boehm.py:40: in getcompiled
    thread=self.use_threads, **extra_options)
translator/c/test/test_genc.py:124: in compile
    t.compile_c()
translator/interactive.py:123: in compile_c
    self.driver.compile_c()
translator/driver.py:108: in proc
    return self.proceed(backend_goal)
translator/driver.py:568: in proceed
    result = self._execute(goals, task_skip = self._maybe_skip())
translator/tool/taskengine.py:114: in _execute
    res = self._do(goal, taskcallable, *args, **kwds)
translator/driver.py:278: in _do
    res = func()
translator/driver.py:435: in task_database_c
    database = cbuilder.build_database()
translator/c/genc.py:137: in build_database
    self.collect_compilation_info(db)
translator/c/genc.py:147: in collect_compilation_info
    self.merge_eci(db.gcpolicy.compilation_info())
translator/c/gc.py:198: in compilation_info
    eci = eci.merge(configure_boehm())
rtyper/tool/rffi_platform.py:884: in configure_boehm
    symbol='GC_init')
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'gc'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('gc/gc.h',), include_...testonly_libraries=(), use_cpp_linker=False, platform=<Darwin_arm64 cc=clang>)>
configurations = [{}], symbol = 'GC_init', _cache = {}

    def configure_external_library(name, eci, configurations,
                                   symbol=None, _cache={}):
        """try to find the external library.
        On Unix, this simply tests and returns the given eci.
    
        On Windows, various configurations may be tried to compile the
        given eci object.  These configurations are a list of dicts,
        containing:
    
        - prefix: if an absolute path, will prefix each include and
                  library directories.  If a relative path, the external
                  directory is searched for directories which names start
                  with the prefix.  The last one in alphabetical order
                  chosen, and becomes the prefix.
    
        - include_dir: prefix + include_dir is added to the include directories
    
        - library_dir: prefix + library_dir is added to the library directories
        """
    
        if sys.platform != 'win32':
            configurations = []
    
        key = (name, eci)
        try:
            return _cache[key]
        except KeyError:
            last_error = None
    
            # Always try the default configuration
            if {} not in configurations:
                configurations.append({})
    
            for configuration in configurations:
                prefix = configuration.get('prefix', '')
                include_dir = configuration.get('include_dir', '')
                library_dir = configuration.get('library_dir', '')
    
                if prefix and not os.path.isabs(prefix):
                    import glob
    
                    entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
                    if entries:
                        # Get last version
                        prefix = sorted(entries)[-1]
                    else:
                        continue
    
                include_dir = os.path.join(prefix, include_dir)
                library_dir = os.path.join(prefix, library_dir)
    
                eci_lib = ExternalCompilationInfo(
                    include_dirs=include_dir and [include_dir] or [],
                    library_dirs=library_dir and [library_dir] or [],
                    )
                eci_lib = eci_lib.merge(eci)
    
                # verify that this eci can be compiled
                try:
                    verify_eci(eci_lib)
                except CompilationError as e:
                    last_error = e
                else:
                    _cache[key] = eci_lib
                    return eci_lib
    
            # Nothing found
            if last_error:
>               raise last_error
E               CompilationError: CompilationError(err="""
E               	/tmp/buildbot-arm64/usession-main-6236/platcheck_68.c:92:10: fatal error: 'gc/gc.h' file not found
E               	   92 | #include <gc/gc.h>
E               	      |          ^~~~~~~~~
E               	1 error generated.
E               	""")

rtyper/tool/rffi_platform.py:846: CompilationError
---------- Captured stderr call ----------
[flowgraph] (rpython.translator.c.test.test_genc:66)entry_point
[translation:info] Annotating&simplifying...
[c5818837eee4180] {translation-task
starting annotate 
[translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy
[flowgraph] (rpython.translator.c.test.test_boehm:412)fn
[flowgraph] (rpython.flowspace.specialcase:76)rpython_print_item
[flowgraph] (rpython.translator.c.test.test_boehm:400)A.__init__
[flowgraph] (rpython.rlib.rgc:588)register_finalizer
[flowgraph] (rpython.translator.c.test.test_boehm:408)finalizer_trigger
[flowgraph] (rpython.rtyper.annlowlevel:482)cast_instance_to_gcref
[flowgraph] (rpython.rtyper.annlowlevel:477)cast_instance_to_base_ptr
[flowgraph] (rpython.flowspace.specialcase:95)rpython_print_newline
[flowgraph] (rpython.flowspace.specialcase:85)rpython_print_end
[flowgraph] (rpython.rlib.rposix:500)write
[flowgraph] (rpython.rtyper.lltypesystem.rffi:1427)scoped_nonmovingbuffer.__init__
[flowgraph] (rpython.rtyper.lltypesystem.rffi:1431)scoped_nonmovingbuffer.__enter__
[flowgraph] (rpython.rtyper.lltypesystem.rffi:873)get_nonmovingbuffer_ll
[flowgraph] (rpython.rlib.objectmodel:315)we_are_translated_to_c
[flowgraph] (rpython.rlib.rgc:571)next_dead
[flowgraph] (rpython.rtyper.annlowlevel:539)cast_gcref_to_instance
[flowgraph] (rpython.rtyper.lltypesystem.rstr:116)copy_string_to_raw
[flowgraph] (rpython.rtyper.lltypesystem.rstr:63)_get_raw_buf
[flowgraph] (rpython.rtyper.lltypesystem.rstr:57)_str_ofs
[flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof
[flowgraph] (rpython.translator.c.test.test_genc:39)llrepr_out
[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write
[flowgraph] (rpython.rlib.rgc:712)may_ignore_finalizer
[flowgraph] (rpython.rtyper.lltypesystem.rffi:1433)scoped_nonmovingbuffer.__exit__
[flowgraph] (rpython.rtyper.lltypesystem.rffi:937)free_nonmovingbuffer_ll
[flowgraph] (rpython.rtyper.lltypesystem.rffi:3)ccall_write
[flowgraph] (rpython.rlib.rgil:160)release
[flowgraph] (rpython.rlib.rposix:151)_errno_before
[flowgraph] (rpython.rlib.rthread:349)getraw
[flowgraph] (rpython.rlib.rthread:349)getraw
[flowgraph] (rpython.rlib.rposix:170)_errno_after
[flowgraph] (rpython.rlib.rthread:364)setraw
[flowgraph] (rpython.rlib.rthread:364)setraw
[flowgraph] (rpython.rlib.rgil:171)acquire
[flowgraph] (rpython.rlib.rthread:282)gc_thread_run
[flowgraph] (rpython.rlib.rposix:430)handle_posix_error
[flowgraph] (rpython.rlib.rarithmetic:139)widen
[flowgraph] (rpython.rlib.rposix:113)get_saved_errno
[flowgraph] (?:1)memo_offsetof_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (?:1)memo__sizeof_none_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (?:1)memo__isfunctype_0
[flowgraph] (?:1)memo__isfunctype_0
[flowgraph] (?:1)memo__should_widen_type_0
[c58188382d55980] translation-task}
[translation:info] usession directory: /tmp/buildbot-arm64/usession-main-6236
[translation:info] already done: Annotating&simplifying
[translation:info] RTyping...
[c58188382d73600] {translation-task
starting rtype_lltype 
[flowgraph] (rpython.rtyper.rclass:1170)ll_runtime_type_info
[flowgraph] (rpython.rtyper.rstr:425)ll_str
[flowgraph] (?:1)memo_ll_constant_0
[flowgraph] (rpython.rtyper.lltypesystem.rrange:70)ll_newrange
[flowgraph] (rpython.rtyper.lltypesystem.rrange:91)ll_rangeiter
[flowgraph] (rpython.rtyper.rrange:172)ll_rangenext_up
[flowgraph] (rpython.rtyper.lltypesystem.rstr:1293)ll_striter
[flowgraph] (rpython.rtyper.lltypesystem.rstr:1306)ll_strnext
[flowgraph] (rpython.rtyper.rlist:588)ll_append
[flowgraph] (rpython.rtyper.lltypesystem.rlist:365)ll_length
[flowgraph] (rpython.rtyper.lltypesystem.rlist:280)_ll_list_resize_ge
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rlib.jit:1300)conditional_call
[flowgraph] (?:11)_ll_list_resize_hint_really_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rlist:198)<lambda>
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really
[flowgraph] (rpython.rtyper.lltypesystem.rlist:351)_ll_new_empty_item_array
[flowgraph] (?:2)ll_arraycopy
[flowgraph] (rpython.rlib.rgc:362)ll_arraycopy
[flowgraph] (rpython.rlib.rgc:342)copy_item
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (?:2)_ll_list_resize_hint_really_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rlist:198)_ll_list_resize_hint_really
[flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast
[flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items
[flowgraph] (?:1)memo__ll_prebuilt_empty_array_0
[flowgraph] (?:1)memo__contains_gcptr_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1160)ll_newdict
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1187)_ll_malloc_dict
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:509)ll_no_initial_index
[flowgraph] (?:1)memo__ll_empty_array_0
[flowgraph] (?:11)ll_join_chars_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rstr:821)<lambda>
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars
[flowgraph] (?:2)mallocstr
[flowgraph] (rpython.rtyper.lltypesystem.rstr:36)mallocstr
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (?:2)ll_join_chars_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rstr:820)ll_join_chars
[flowgraph] (?:11)ll_listdelslice_startonly_look_inside_iff
[flowgraph] (rpython.rtyper.rlist:912)<lambda>
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly
[flowgraph] (rpython.rtyper.rlist:539)ll_null_item
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rlist:295)_ll_list_resize_le
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (?:2)ll_listdelslice_startonly_trampoline
[flowgraph] (rpython.rtyper.rlist:912)ll_listdelslice_startonly
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rlib.jit:1300)conditional_call
[flowgraph] (rpython.rtyper.lltypesystem.rstr:350)ll_strlen
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1462)ll_dict_contains
[flowgraph] (rpython.rtyper.rint:619)ll_hash_int
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1465)ll_dict_contains_with_hash
[flowgraph] (?:11)ll_call_lookup_function_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function
[flowgraph] (?:11)ll_dict_lookup_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (?:11)ll_dict_lookup_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (?:11)ll_dict_lookup_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (?:11)ll_dict_lookup_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:557)_ll_write_indexes
[flowgraph] (?:11)ll_dict_create_initial_index_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:520)ll_malloc_indexes_and_choose_lookup
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:955)ll_dict_rehash_after_translation
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:979)ll_dict_reindex
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:739)_ll_len_of_d_indexes
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:602)ll_valid_from_key
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:629)ll_hash_recomputed
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:543)ll_clear_indexes
[flowgraph] (rpython.rlib.rgc:508)ll_arrayclear
[flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof
[flowgraph] (rpython.rlib.rgc:508)ll_arrayclear
[flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof
[flowgraph] (rpython.rlib.rgc:508)ll_arrayclear
[flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof
[flowgraph] (rpython.rlib.rgc:508)ll_arrayclear
[flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1108)ll_dict_store_clean
[flowgraph] (?:2)ll_call_lookup_function_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:46)ll_call_lookup_function
[flowgraph] (?:2)ll_dict_lookup_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (?:2)ll_dict_lookup_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (?:2)ll_dict_lookup_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (?:2)ll_dict_lookup_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:1035)ll_dict_lookup
[flowgraph] (?:2)ll_dict_create_initial_index_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:942)ll_dict_create_initial_index
[flowgraph] (?:1)memo__ll_ptr_to_array_of_0
[flowgraph] (?:1)memo__ll_ptr_to_array_of_0
[flowgraph] (?:1)memo__ll_ptr_to_array_of_0
[flowgraph] (?:1)memo__ll_ptr_to_array_of_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (?:1)memo__sizeof_none_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (?:1)memo__sizeof_none_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (?:1)memo__sizeof_none_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (?:1)memo__sizeof_none_0
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:648)ll_dict_len
[flowgraph] (rpython.rtyper.lltypesystem.ll_str:13)ll_int2dec
[flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned
[flowgraph] (?:11)ll_join_strs_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rstr:785)<lambda>
[flowgraph] (rpython.rlib.jit:294)loop_unrolling_heuristic
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs
[flowgraph] (rpython.rtyper.lltypesystem.llmemory:1037)cast_any_ptr
[flowgraph] (rpython.rtyper.lltypesystem.rstr:78)copy_string_contents
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (?:2)ll_join_strs_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rstr:783)ll_join_strs
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:665)ll_dict_setitem
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:668)ll_dict_setitem_with_hash
[flowgraph] (?:11)_ll_dict_setitem_lookup_done_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done
[flowgraph] (?:11)ll_dict_grow_look_inside_iff
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:712)_ll_dict_rescue
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)<lambda>
[flowgraph] (rpython.rlib.jit:281)isvirtual
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:802)ll_dict_remove_deleted_items
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:745)_overallocate_entries_len
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:789)_ll_dict_entries_size_too_big
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:913)ll_dict_resize
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:923)_ll_dict_resize_to
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (?:2)ll_arraycopy
[flowgraph] (rpython.rlib.rgc:362)ll_arraycopy
[flowgraph] (rpython.rlib.rgc:342)copy_item
[flowgraph] (rpython.rtyper.lltypesystem.llmemory:411)sizeof
[flowgraph] (?:2)_ll_dict_setitem_lookup_done_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:674)_ll_dict_setitem_lookup_done
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:565)ll_call_insert_clean_function
[flowgraph] (?:2)ll_dict_grow_trampoline
[flowgraph] (rpython.rtyper.lltypesystem.rordereddict:755)ll_dict_grow
[flowgraph] (?:1)memo__contains_gcptr_0
[flowgraph] (?:1)memo_itemoffsetof_0
[flowgraph] (?:1)memo__sizeof_none_0
[flowgraph] (rpython.rtyper.rint:149)ll_str
[rtyper] specializing: 100 / 1049 blocks   (9%)
[rtyper] specializing: 200 / 1049 blocks   (19%)
[rtyper] specializing: 300 / 1049 blocks   (28%)
[rtyper] specializing: 400 / 1049 blocks   (38%)
[rtyper] specializing: 500 / 1049 blocks   (47%)
[rtyper] specializing: 600 / 1049 blocks   (57%)
[rtyper] specializing: 700 / 1049 blocks   (66%)
[rtyper] specializing: 800 / 1049 blocks   (76%)
[flowgraph] (rpython.rtyper.rint:434)ll_uint_py_div
[flowgraph] (rpython.rtyper.rint:525)ll_uint_py_mod
[rtyper] specializing: 900 / 1053 blocks   (85%)
[flowgraph] (rpython.rtyper.rint:398)ll_int_py_div
[flowgraph] (rpython.rtyper.rint:410)ll_int_py_div_nonnegargs
[flowgraph] (rpython.rtyper.rbuiltin:240)ll_min
[rtyper] specializing: 1000 / 1062 blocks   (94%)
[rtyper] -=- specialized 1062 blocks -=-
[flowgraph] (rpython.rtyper.rclass:1133)ll_issubclass
[flowgraph] (rpython.rtyper.rclass:1130)ll_type
[rtyper] -=- specialized 4 more blocks -=-
[c581883a3bbe580] translation-task}
[translation:info] usession directory: /tmp/buildbot-arm64/usession-main-6236
[translation:info] already done: Annotating&simplifying
[translation:info] already done: RTyping
[translation:info] lltype back-end optimisations...
[c581883a3bd9500] {translation-task
starting backendopt_lltype 
[backendopt:removecasts] removed 1 cast_pointers in fn
[backendopt:removecasts] removed 1 cast_pointers in _get_raw_buf__rpy_string
[backendopt:removecasts] removed 3 cast_pointers in handle_posix_error__write
[backendopt:removecasts] removed 1 cast_pointers in ll_rangenext_up__rangePtr_Signed
[backendopt:removecasts] removed 1 cast_pointers in ll_strnext__stringiterPtr
[backendopt:removecasts] removed 3 cast_pointers in ll_dict_rehash_after_translation__dicttablePtr
[backendopt:removecasts] removed 1 cast_pointers in ll_dict_reindex__dicttablePtr_Signed
[backendopt:removecasts] removed 1 cast_pointers in ll_clear_indexes__dicttablePtr_Signed
[backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v14367___simple_call__function
[backendopt:removecasts] removed 1 cast_pointers in copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed
[backendopt:removecasts] removed 1 cast_pointers in ll_join_strs__v14370___simple_call__function
[backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v14373___simple_call__function
[backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v14376___simple_call__function
[backendopt:removecasts] removed 1 cast_pointers in ll_dict_remove_deleted_items__dicttablePtr
[backendopt:removecasts] removed 3 cast_pointers in _ll_dict_entries_size_too_big__dicttablePtr_Signed
[backendopt:removecasts] removed 4 cast_pointers in _ll_dict_setitem_lookup_done__v14379___simple_call__function
[backendopt:removecasts] removed 2 cast_pointers in ll_call_insert_clean_function__dicttablePtr_Signed_Signed
[backendopt:removecasts] removed 1 cast_pointers in ll_dict_grow__v14381___simple_call__function
[backendopt:inlining] phase with threshold factor: 32.4
[backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic
[backendopt:inlining]    0.00                                   __exit____star_3
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UnsignedLlT
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UCHARLlT
[backendopt:inlining]    0.00         isconstant__v14351___simple_call__function
[backendopt:inlining]    0.00          isvirtual__v14343___simple_call__function
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UINTLlT
[backendopt:inlining]    0.00          isvirtual__v14337___simple_call__function
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UINTLlT
[backendopt:inlining]    0.00          isvirtual__v14340___simple_call__function
[backendopt:inlining]    0.00                                 memo_ll_constant_0
[backendopt:inlining]    0.00                                         widen__int
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_USHORTLlT
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_USHORTLlT
[backendopt:inlining]    0.00         isconstant__v14350___simple_call__function
[backendopt:inlining]    0.00                                      gc_thread_run
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Signed_Signed_UnsignedLlT
[backendopt:inlining]    0.00 conditional_call__v14306___simple_call__function_star_3
[backendopt:inlining]    0.00         isconstant__v14304___simple_call__function
[backendopt:inlining]    0.00         isconstant__v14349___simple_call__function
[backendopt:inlining]    0.00 _ll_write_indexes__dicttablePtr_Unsigned_Signed_UCHARLlT
[backendopt:inlining]    0.00         isconstant__v14348___simple_call__function
[backendopt:inlining]    0.00          isvirtual__v14334___simple_call__function
[backendopt:inlining]    0.00          isvirtual__v14331___simple_call__function
[backendopt:inlining]    0.00 cast_instance_to_base_ptr__rpython_translator_c_test_test_boehm_A
[backendopt:inlining]    0.00                                ll_hash_int__Signed
[backendopt:inlining]    0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed
[backendopt:inlining]    0.00 cast_any_ptr__Ptr_GcStruct_rpy_stringLlT_rpy_stringPtr
[backendopt:inlining]    0.00 conditional_call__v14329___simple_call__function_star_3
[backendopt:inlining]    0.00         isconstant__v14325___simple_call__function
[backendopt:inlining]    0.00                                memo__sizeof_none_0
[backendopt:inlining]    0.00                           _get_raw_buf__rpy_string
[backendopt:inlining]    0.00         isconstant__v14377___simple_call__function
[backendopt:inlining]    0.00          isvirtual__v14323___simple_call__function
[backendopt:inlining]    0.00         isconstant__v14321___simple_call__function
[backendopt:inlining]    0.00                                 copy_string_to_raw
[backendopt:inlining]    0.00          isvirtual__v14317___simple_call__function
[backendopt:inlining]    0.00                             get_nonmovingbuffer_ll
[backendopt:inlining]    0.00         isconstant__v14328___simple_call__function
[backendopt:inlining]    0.00         isconstant__v14315___simple_call__function
[backendopt:inlining]    0.00          isvirtual__v14346___simple_call__function
[backendopt:inlining]    0.00         isconstant__v14309___simple_call__function
[backendopt:inlining]    0.00         isconstant__v14305___simple_call__function
[backendopt:inlining]    0.00                    scoped_nonmovingbuffer.__init__
[backendopt:inlining]    0.00          isvirtual__v14372___simple_call__function
[backendopt:inlining]    0.00                                memo__sizeof_none_0
[backendopt:inlining]    0.00          isvirtual__v14368___simple_call__function
[backendopt:inlining]    0.00                    memo__ll_prebuilt_empty_array_0
[backendopt:inlining]    0.00         isconstant__v14311___simple_call__function
[backendopt:inlining]    0.00               write__Signed_arrayPtr_Signed_star_3
[backendopt:inlining]    0.00                   scoped_nonmovingbuffer.__enter__
[backendopt:inlining]    0.00          isvirtual__v14375___simple_call__function
[backendopt:inlining]    0.00         isconstant__v14366___simple_call__function
[backendopt:inlining]    0.00                                memo__sizeof_none_0
[backendopt:inlining]    0.00                                memo__sizeof_none_0
[backendopt:inlining]    0.00                                memo__sizeof_none_0
[backendopt:inlining]    0.00                                memo__sizeof_none_0
[backendopt:inlining]    2.00                                 ll_length__listPtr
[backendopt:inlining]    2.00                           ll_strlen__rpy_stringPtr
[backendopt:inlining]    2.00                                  ll_items__listPtr
[backendopt:inlining]    2.00                                             getraw
[backendopt:inlining]    2.00                                             setraw
[backendopt:inlining]    2.00                                             setraw
[backendopt:inlining]    2.00                                             getraw
[backendopt:inlining]    2.00 may_ignore_finalizer__rpython_translator_c_test_test_boehm_A
[backendopt:inlining]    2.00                          cast_gcref_to_instance__A
[backendopt:inlining]    2.00                                         A.__init__
[backendopt:inlining]    2.00                  ll_uint_py_div__Unsigned_Unsigned
[backendopt:inlining]    2.00                  ll_uint_py_mod__Unsigned_Unsigned
[backendopt:inlining]    2.00            ll_int_py_div_nonnegargs__Signed_Signed
[backendopt:inlining]    2.00                                ll_unsigned__Signed
[backendopt:inlining]    2.00                          ll_dict_len__dicttablePtr
[backendopt:inlining]    4.00                 _ll_len_of_d_indexes__dicttablePtr
[backendopt:inlining]    4.00             _ll_malloc_dict__GcStruct_dicttableLlT
[backendopt:inlining]    4.00         copy_item__arrayPtr_arrayPtr_Signed_Signed
[backendopt:inlining]    4.00                              ll_min__Signed_Signed
[backendopt:inlining]    5.00                                            release
[backendopt:inlining]    6.00                  _overallocate_entries_len__Signed
[backendopt:inlining]    6.00                               _str_ofs__rpy_string
[backendopt:inlining]    7.00                                  mallocstr__Signed
[backendopt:inlining]    7.00 ll_dict_create_initial_index_look_inside_iff__dicttablePtr
[backendopt:inlining]    7.00                              rpython_print_newline
[backendopt:inlining]    7.00         ll_dict_grow_look_inside_iff__dicttablePtr
[backendopt:inlining]    7.00 ll_listdelslice_startonly_look_inside_iff__listPtr_Signed
[backendopt:inlining]    4.00                                    get_saved_errno
[backendopt:inlining]    7.00                                            acquire
[backendopt:inlining]    7.00                                    llrepr_out__int
[backendopt:inlining]    7.00                ll_str__IntegerR_SignedConst_Signed
[backendopt:inlining]    7.50                                  mallocstr__Signed
[backendopt:inlining]    8.00   ll_newrange__Ptr_GcStruct_rangeLlT_Signed_Signed
[backendopt:inlining]    8.00                  ll_no_initial_index__dicttablePtr
[backendopt:inlining]    8.00         copy_item__arrayPtr_arrayPtr_Signed_Signed
[backendopt:inlining]    9.00 _ll_list_resize_hint_really_look_inside_iff__listPtr_Signed_Bool
[backendopt:inlining]    9.00 ll_call_lookup_function_look_inside_iff__dicttablePtr_Signed_Signed_Signed
[backendopt:inlining]    9.00 ll_join_strs_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT
[backendopt:inlining]    9.00 ll_join_chars_look_inside_iff__Signed_arrayPtr_Ptr_GcStruct_rpy_stringLlT
[backendopt:inlining]    4.00          next_dead___rpython_translator_c_test_tes
[backendopt:inlining]    2.00 cast_instance_to_gcref__rpython_translator_c_test_test_boehm_A
[backendopt:inlining]    4.00 register_finalizer___rpython_translator_c_test_tes
[backendopt:inlining]    9.00          ll_dict_setitem__dicttablePtr_Signed_Bool
[backendopt:inlining]    4.00 ll_str__StringR_Ptr_GcStruct_rpy_strin_rpy_stringPtr
[backendopt:inlining]   11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed
[backendopt:inlining]   11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UnsignedLlT
[backendopt:inlining]   11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UINTLlT
[backendopt:inlining]   11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_USHORTLlT
[backendopt:inlining]   11.00 ll_dict_lookup_look_inside_iff__dicttablePtr_Signed_Signed_Signed_UCHARLlT
[backendopt:inlining]   11.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed
[backendopt:inlining]   11.00 ll_dict_contains_with_hash__dicttablePtr_Signed_Signed
[backendopt:inlining]    6.00               ll_setitem_fast__listPtr_Signed_Char
[backendopt:inlining]   11.00 _ll_dict_setitem_lookup_done_look_inside_iff__dicttablePtr_Signed_Bool_Signed_Signed
[backendopt:inlining]   12.00                          ll_striter__rpy_stringPtr
[backendopt:inlining]   12.00       ll_rangeiter__Ptr_GcStruct_rangeLlT_rangePtr
[backendopt:inlining]   12.00                            ll_arrayclear__arrayPtr
[backendopt:inlining]   12.00                            ll_arrayclear__arrayPtr
[backendopt:inlining]   12.00                            ll_arrayclear__arrayPtr
[backendopt:inlining]   12.00                            ll_arrayclear__arrayPtr
[backendopt:inlining]   12.50                   ll_rangenext_up__rangePtr_Signed
[backendopt:inlining]   13.00                            free_nonmovingbuffer_ll
[backendopt:inlining]    6.75 loop_unrolling_heuristic__v14365___simple_call__function
[backendopt:inlining]   14.00   ll_hash_recomputed__arrayPtr_dicttablePtr_Signed
[backendopt:inlining]    9.00 ll_listdelslice_startonly__v14327___simple_call__function
[backendopt:inlining]    9.00 ll_listdelslice_startonly__v14322___simple_call__function
[backendopt:inlining]   15.00                       ll_int_py_div__Signed_Signed
[backendopt:inlining]   15.50                          ll_strnext__stringiterPtr
[backendopt:inlining]   16.00                 ll_valid_from_key__arrayPtr_Signed
[backendopt:inlining]   11.00              ll_dict_contains__dicttablePtr_Signed
[backendopt:inlining]   15.00                       ll_dict_resize__dicttablePtr
[backendopt:inlining]   18.00 ll_dict_create_initial_index__v14363___simple_call__function
[backendopt:inlining]   18.00 ll_dict_create_initial_index__v14347___simple_call__function
[backendopt:inlining]   18.00                  ll_newdict__GcStruct_dicttableLlT
[backendopt:inlining]   20.00 ll_dict_setitem_with_hash__dicttablePtr_Signed_Signed_Bool
[backendopt:inlining]   17.00                            ll_append__listPtr_Char
[backendopt:inlining]   19.25       _errno_after__v14302___simple_call__function
[backendopt:inlining]   26.16      ll_join_chars__v14316___simple_call__function
[backendopt:inlining]   26.16      ll_join_chars__v14319___simple_call__function
[backendopt:inlining]   29.50 ll_malloc_indexes_and_choose_lookup__dicttablePtr_Signed
[backendopt:inlining]   30.00 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed
[backendopt:inlining]   27.50 ll_arraycopy__arrayPtr_arrayPtr_Signed_Signed_Signed
[backendopt:inlining]   32.00 _ll_dict_entries_size_too_big__dicttablePtr_Signed
[backendopt:inlining]   31.87      _errno_before__v14301___simple_call__function
[backendopt:inlining]   31.75                          handle_posix_error__write
[backendopt:inlining] inlined 244 callsites.
[backendopt:removecasts] removed 1 cast_pointers in fn
[backendopt:malloc] starting malloc removal
[backendopt:malloc] 2 simple mallocs removed in 'fn'
[backendopt:malloc] 1 simple mallocs removed in 'rpython_print_item'
[backendopt:malloc] 1 simple mallocs removed in 'rpython_print_end'
[backendopt:malloc] 3 simple mallocs removed in 'write'
[backendopt:malloc] 2 simple mallocs removed in 'scoped_nonmovingbuffer.__init__'
[backendopt:malloc] 7 simple mallocs removed in 'write__Signed_arrayPtr_Signed_star_3'
[backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_ge__listPtr_Signed'
[backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v14306___simple_call__function_star_3'
[backendopt:malloc] 1 simple mallocs removed in '_ll_list_resize_le__listPtr_Signed'
[backendopt:malloc] 1 simple mallocs removed in 'conditional_call__v14329___simple_call__function_star_3'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14335___simple_call__function'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14338___simple_call__function'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14341___simple_call__function'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14344___simple_call__function'
[backendopt:malloc] 4 simple mallocs removed in 'll_dict_rehash_after_translation__dicttablePtr'
[backendopt:malloc] 8 simple mallocs removed in 'll_dict_reindex__dicttablePtr_Signed'
[backendopt:malloc] 1 simple mallocs removed in 'll_valid_from_key__arrayPtr_Signed'
[backendopt:malloc] 1 simple mallocs removed in 'll_hash_recomputed__arrayPtr_dicttablePtr_Signed'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14355___simple_call__function'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14357___simple_call__function'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14359___simple_call__function'
[backendopt:malloc] 2 simple mallocs removed in 'll_dict_lookup__v14361___simple_call__function'
[backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v14373___simple_call__function'
[backendopt:malloc] 3 simple mallocs removed in 'll_dict_remove_deleted_items__dicttablePtr'
[backendopt:malloc] 2 simple mallocs removed in '_ll_dict_setitem_lookup_done__v14379___simple_call__function'
[backendopt:malloc] removed 57 simple mallocs in total
[backendopt:mergeifblocks] starting to merge if blocks
[backendopt] merging blocks in ll_call_lookup_function__v14332___simple_call__function
[backendopt] merging blocks in ll_dict_reindex__dicttablePtr_Signed
[backendopt] merging blocks in ll_clear_indexes__dicttablePtr_Signed
[backendopt] merging blocks in ll_call_lookup_function__v14353___simple_call__function
[backendopt] merging blocks in ll_dict_grow__v14376___simple_call__function
[backendopt] merging blocks in _ll_dict_entries_size_too_big__dicttablePtr_Signed
[backendopt] merging blocks in ll_call_insert_clean_function__dicttablePtr_Signed_Signed
[backendopt] merging blocks in ll_dict_grow__v14381___simple_call__function
[c581883b1489600] translation-task}
[translation:info] usession directory: /tmp/buildbot-arm64/usession-main-6236
[translation:info] already done: Annotating&simplifying
[translation:info] already done: RTyping
[translation:info] already done: lltype back-end optimisations
[translation:info] inserting stack checks...
[c581883b2e4f980] {translation-task
starting stackcheckinsertion_lltype 
[flowgraph] (rpython.rlib.rstack:42)stack_check
[flowgraph] (rpython.rlib.rstack:67)stack_check_slowpath
[rtyper] -=- specialized 8 more blocks -=-
[translation:info] inserted 0 stack checks.
[c581883b372c880] translation-task}
[translation:info] Creating database for generating c source...
[c581883b3738000] {translation-task
starting database_c 
[flowgraph] (rpython.translator.exceptiontransform:100)rpyexc_occurred
[flowgraph] (rpython.translator.exceptiontransform:104)rpyexc_fetch_type
[flowgraph] (rpython.translator.exceptiontransform:107)rpyexc_fetch_value
[flowgraph] (rpython.translator.exceptiontransform:110)rpyexc_clear
[flowgraph] (rpython.translator.exceptiontransform:114)rpyexc_raise
[flowgraph] (rpython.translator.exceptiontransform:128)rpyexc_reraise
[flowgraph] (rpython.translator.exceptiontransform:133)rpyexc_fetch_exception
[flowgraph] (rpython.translator.exceptiontransform:138)rpyexc_restore_exception
[flowgraph] (rpython.translator.exceptiontransform:539)rpyexc_get_exception_addr
[flowgraph] (rpython.translator.exceptiontransform:543)rpyexc_get_exc_value_addr
[flowgraph] (rpython.rtyper.rclass:1173)ll_inst_type
[rtyper] -=- specialized 25 more blocks -=-
[flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize
[flowgraph] (rpython.memory.gctransform.transform:454)_ll_malloc_fixedsize_zero
[flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length
[flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize
[flowgraph] (rpython.memory.gctransform.transform:493)_ll_malloc_varsize_no_length_zero
[flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize
[flowgraph] (rpython.memory.gctransform.transform:447)_ll_malloc_fixedsize
[flowgraph] (rpython.memory.gctransform.transform:470)_ll_malloc_varsize_no_length
[flowgraph] (rpython.memory.gctransform.transform:487)ll_malloc_varsize
[flowgraph] (rpython.memory.gctransform.boehm:249)ll_weakref_create
[flowgraph] (rpython.memory.gctransform.boehm:263)ll_weakref_deref
[flowgraph] (rpython.memory.gctransform.boehm:58)ll_identityhash
[flowgraph] (rpython.memory.gctransform.transform:461)_ll_compute_size
[flowgraph] (rpython.memory.gctransform.boehm:20)<lambda>
[flowgraph] (rpython.memory.gctransform.boehm:24)<lambda>
[flowgraph] (rpython.memory.gctransform.transform:461)_ll_compute_size
[rtyper] specializing: 1100 / 1163 blocks   (94%)
[rtyper] -=- specialized 64 more blocks -=-
[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize__Signed
[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize_zero__Signed
[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_varsize_no_length__Signed_Signed_Signed
[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_varsize_no_length_zero__Signed_Signed_Signed
[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize__Signed
[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_fixedsize__Signed
[backendopt:removecasts] removed 1 cast_pointers in _ll_malloc_varsize_no_length__Signed_Signed_Signed
[backendopt:removecasts] removed 1 cast_pointers in ll_weakref_create__GCREFPtr
[backendopt:removecasts] removed 1 cast_pointers in _ll_compute_size__Signed_Signed_Signed
[backendopt:removecasts] removed 1 cast_pointers in _ll_compute_size__Signed_Signed_Signed
[backendopt:inlining] phase with threshold factor: 32.4
[backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic
[backendopt:inlining]    0.00             _ll_compute_size__Signed_Signed_Signed
[backendopt:inlining]    0.00             _ll_compute_size__Signed_Signed_Signed
[backendopt:inlining]    2.00                                           _lambda_
[backendopt:inlining]    2.00                                           _lambda_
[backendopt:inlining]   16.50 _ll_malloc_varsize_no_length__Signed_Signed_Signed
[backendopt:inlining]   16.50 _ll_malloc_varsize_no_length__Signed_Signed_Signed
[backendopt:inlining] inlined 8 callsites.
[backendopt:malloc] starting malloc removal
[backendopt:malloc] removed 0 simple mallocs in total
[backendopt:mergeifblocks] starting to merge if blocks
[flowgraph] (rpython.translator.c.genc:261)entrypoint_wrapper
[flowgraph] (rpython.rtyper.lltypesystem.rffi:854)charp2str
[flowgraph] (rpython.rtyper.lltypesystem.rffi:1030)charpsize2str
[flowgraph] (rpython.rtyper.lltypesystem.rstr:145)copy_raw_to_string
[flowgraph] (rpython.rtyper.rlist:487)ll_alloc_and_set
[flowgraph] (rpython.rlib.rarithmetic:741)int_force_ge_zero
[flowgraph] (rpython.rtyper.rlist:504)_ll_alloc_and_set_jit
[flowgraph] (rpython.rtyper.rlist:472)_ll_zero_or_null
[flowgraph] (rpython.rtyper.rlist:494)_ll_alloc_and_set_nojit
[flowgraph] (rpython.rtyper.lltypesystem.rlist:324)ll_newlist
[flowgraph] (rpython.rtyper.rlist:516)_ll_alloc_and_clear
[flowgraph] (rpython.rtyper.lltypesystem.rlist:377)ll_setitem_fast
[flowgraph] (rpython.rtyper.lltypesystem.rlist:369)ll_items
[flowgraph] (?:11)_ll_alloc_and_set_nonnull_look_inside_iff
[flowgraph] (rpython.rtyper.rlist:528)<lambda>
[flowgraph] (rpython.rlib.jit:269)isconstant
[flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull
[flowgraph] (?:2)_ll_alloc_and_set_nonnull_trampoline
[flowgraph] (rpython.rtyper.rlist:528)_ll_alloc_and_set_nonnull
[flowgraph] (?:1)memo__null_of_type_0
[flowgraph] (rpython.rtyper.rlist:726)ll_setitem_nonneg
[rtyper] specializing: 1200 / 1241 blocks   (96%)
[rtyper] -=- specialized 78 more blocks -=-
[rtyper] -=- specialized 0 more blocks -=-
[flowgraph] (rpython.memory.gctransform.boehm:152)ll_finalizer_trigger
[flowgraph] (rpython.memory.gctransform.support:95)ll_report_finalizer_error
[flowgraph] (rpython.memory.gctransform.support:77)write
[flowgraph] (rpython.rtyper.lltypesystem.rffi:278)write
[flowgraph] (rpython.rtyper.lltypesystem.rffi:926)get_nonmovingbuffer_ll_final_null
[flowgraph] (rpython.rtyper.rclass:870)ll_str
[flowgraph] (rpython.rtyper.lltypesystem.rstr:425)ll_strconcat
[flowgraph] (rpython.rtyper.lltypesystem.rstr:416)ll_length
[flowgraph] (rpython.rtyper.lltypesystem.ll_str:47)ll_int2hex
[flowgraph] (rpython.rtyper.lltypesystem.ll_str:7)ll_unsigned
[flowgraph] (?:1)memo_conststr_0
[flowgraph] (?:1)memo_conststr_0
[flowgraph] (?:1)memo_conststr_0
[flowgraph] (?:1)memo_conststr_0
[rtyper] specializing: 1300 / 1309 blocks   (99%)
[rtyper] -=- specialized 68 more blocks -=-
[backendopt:inlining] phase with threshold factor: 32.4
[backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic
[backendopt:inlining]    0.00                                    memo_conststr_0
[backendopt:inlining]    0.00                              ll_unsigned__Unsigned
[backendopt:inlining]    0.00                  get_nonmovingbuffer_ll_final_null
[backendopt:inlining]    0.00             write__Signed_SomeString_Signed_star_3
[backendopt:inlining]    0.00                             get_nonmovingbuffer_ll
[backendopt:inlining]    0.00 copy_string_contents__rpy_stringPtr_rpy_stringPtr_Signed_Signed_Signed
[backendopt:inlining]    2.00                           ll_strlen__rpy_stringPtr
[backendopt:inlining]    2.00                           ll_length__rpy_stringPtr
[backendopt:inlining]    6.00                                  finalizer_trigger
[backendopt:inlining]   13.00                            free_nonmovingbuffer_ll
[backendopt:inlining]   26.62            ll_report_finalizer_error__SomeInstance
[backendopt:inlining] inlined 19 callsites.
[backendopt:malloc] starting malloc removal
[backendopt:malloc] 10 simple mallocs removed in 'write'
[backendopt:malloc] 10 simple mallocs removed in 'write__Signed_SomeString_Signed_star_3'
[backendopt:malloc] removed 20 simple mallocs in total
[backendopt:mergeifblocks] starting to merge if blocks
[c:database] GC transformer: finished helpers
[c:database] GC transformer: finished tables
[c:database] Inlining GC helpers and postprocessing
[c]      319 nodes  [ array: 32  boehm rtti: 19  func: 75  struct: 193 ]
[c:database] Completed
[c581883c0777e80] translation-task}
 (somefailed=True in translator/c/test/test_boehm.py)
builder: rpython-macos-arm64 build #259
test: translator/c/test/test_boehm/py/TestUsingBoehm/()/test_finalizer_queue