Home | History | Annotate | Download | only in lib

Lines Matching defs:GC

33   bool gc;          // enable GC
34 size_t gc_limit; // # of bytes allowed before GC
37 CacheOptions(bool g, size_t l) : gc(g), gc_limit(l) {}
39 : gc(FLAGS_fst_default_cache_gc),
51 // cached. If the 'gc' option is 'false', cached items have the extent
52 // of the FST - minimizing computation. If the 'gc' option is 'true',
81 cache_first_state_(0), cache_gc_(opts.gc), cache_size_(0),
150 GC(s, false);
194 GC(s, false);
269 // states that have not been accessed since the last GC until
273 void GC(StateId current, bool free_recent) {
276 VLOG(2) << "CacheImpl: Enter GC: object = " << Type() << "(" << this
298 GC(current, true);
305 VLOG(2) << "CacheImpl: Exit GC: object = " << Type() << "(" << this
314 static const uint32 kCacheRecent = 0x0004; // Mark as visited since GC
333 bool cache_gc_; // enable GC
335 size_t cache_limit_; // # of bytes allowed before GC