예제 #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)
예제 #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)
예제 #3
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
예제 #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
예제 #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
예제 #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
예제 #7
0
파일: semispace.py 프로젝트: enyst/plexnet
 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)
예제 #8
0
파일: semispace.py 프로젝트: Debug-Orz/Sypy
 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)
예제 #9
0
파일: markcompact.py 프로젝트: ieure/pypy
 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
예제 #10
0
 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...
예제 #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)
예제 #12
0
파일: markcompact.py 프로젝트: alkorzt/pypy
 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)