Exemple #1
0
 def __init__(self,
              config,
              chunk_size=DEFAULT_CHUNK_SIZE,
              space_size=4096,
              max_space_size=sys.maxint // 2 + 1):
     self.param_space_size = space_size
     self.param_max_space_size = max_space_size
     MovingGCBase.__init__(self, config, chunk_size)
Exemple #2
0
 def __init__(self,
              config,
              space_size=4096,
              max_space_size=sys.maxint // 2 + 1,
              **kwds):
     self.param_space_size = space_size
     self.param_max_space_size = max_space_size
     MovingGCBase.__init__(self, config, **kwds)
    def __init__(self, config, space_size=4096, min_next_collect_after=128, **kwds):
        import py

        py.test.skip("the 'markcompact' gc needs fixing for custom tracers")
        #
        MovingGCBase.__init__(self, config, **kwds)
        self.space_size = space_size
        self.min_next_collect_after = min_next_collect_after
Exemple #4
0
 def __init__(self, config, space_size=4096,
              min_next_collect_after=128, **kwds):
     import py
     py.test.skip("the 'markcompact' gc needs fixing for custom tracers")
     #
     MovingGCBase.__init__(self, config, **kwds)
     self.space_size = space_size
     self.min_next_collect_after = min_next_collect_after
Exemple #5
0
 def __init__(self, chunk_size=DEFAULT_CHUNK_SIZE, space_size=4096,
              max_space_size=sys.maxint//2+1):
     MovingGCBase.__init__(self)
     self.space_size = space_size
     self.max_space_size = max_space_size
     self.gcheaderbuilder = GCHeaderBuilder(self.HDR)
     self.AddressStack = get_address_stack(chunk_size)
     self.AddressDeque = get_address_deque(chunk_size)
     self.finalizer_lock_count = 0
     self.red_zone = 0
Exemple #6
0
 def __init__(self, config, chunk_size=DEFAULT_CHUNK_SIZE, space_size=4096,
              max_space_size=sys.maxint//2+1):
     MovingGCBase.__init__(self, config, chunk_size)
     self.space_size = space_size
     self.max_space_size = max_space_size
     self.red_zone = 0
Exemple #7
0
 def __init__(self, config, chunk_size=DEFAULT_CHUNK_SIZE, space_size=4096,
              max_space_size=sys.maxint//2+1):
     self.param_space_size = space_size
     self.param_max_space_size = max_space_size
     MovingGCBase.__init__(self, config, chunk_size)
Exemple #8
0
 def __init__(self, config, space_size=4096, max_space_size=sys.maxint//2+1,
              **kwds):
     self.param_space_size = space_size
     self.param_max_space_size = max_space_size
     MovingGCBase.__init__(self, config, **kwds)
Exemple #9
0
 def __init__(self, config, space_size=4096,
              min_next_collect_after=128, **kwds):
     MovingGCBase.__init__(self, config, **kwds)
     self.space_size = space_size
     self.min_next_collect_after = min_next_collect_after
 def __init__(self, config, chunk_size=DEFAULT_CHUNK_SIZE, space_size=4096):
     MovingGCBase.__init__(self, config, chunk_size)
     self.space_size = space_size
     self.next_collect_after = space_size/2 # whatever...
Exemple #11
0
 def __init__(self, config, chunk_size=DEFAULT_CHUNK_SIZE, space_size=4096):
     import py
     py.test.skip("Disabled for now, sorry")
     self.param_space_size = space_size
     MovingGCBase.__init__(self, config, chunk_size)
Exemple #12
0
 def __init__(self, config, chunk_size=DEFAULT_CHUNK_SIZE, space_size=4096):
     import py; py.test.skip("Disabled for now, sorry")
     self.param_space_size = space_size
     MovingGCBase.__init__(self, config, chunk_size)