Lines Matching full:newsize
593 func copystack(gp *g, newsize uintptr) {
604 new, newstkbar := stackalloc(uint32(newsize))
609 print("copystack gp=", gp, " [", hex(old.lo), " ", hex(old.hi-used), " ", hex(old.hi), "]/", gp.stackAlloc, " -> [", hex(new.lo), " ", hex(new.hi-used), " ", hex(new.hi), "]/", newsize, "\n")
640 gp.stackAlloc = newsize
791 newsize := oldsize * 2
792 if uintptr(newsize) > maxstacksize {
801 copystack(gp, uintptr(newsize))
850 newsize := oldsize / 2
853 if newsize < _FixedStack {
876 print("shrinking stack ", oldsize, "->", newsize, "\n")
880 copystack(gp, newsize)