Lines Matching refs:new_threshold
555 uint32_t new_threshold; in gc_adjust_threshold() local
563 new_threshold = GC_G(gc_threshold) + GC_THRESHOLD_STEP; in gc_adjust_threshold()
564 if (new_threshold > GC_THRESHOLD_MAX) { in gc_adjust_threshold()
565 new_threshold = GC_THRESHOLD_MAX; in gc_adjust_threshold()
567 if (new_threshold > GC_G(buf_size)) { in gc_adjust_threshold()
570 if (new_threshold <= GC_G(buf_size)) { in gc_adjust_threshold()
571 GC_G(gc_threshold) = new_threshold; in gc_adjust_threshold()
575 new_threshold = GC_G(gc_threshold) - GC_THRESHOLD_STEP; in gc_adjust_threshold()
576 if (new_threshold < GC_THRESHOLD_DEFAULT) { in gc_adjust_threshold()
577 new_threshold = GC_THRESHOLD_DEFAULT; in gc_adjust_threshold()
579 GC_G(gc_threshold) = new_threshold; in gc_adjust_threshold()