thx 在 2019年6月21日星期五 UTC+8下午12:38:50,Ian Lance Taylor写道: > > On Thu, Jun 20, 2019 at 7:22 PM Chou Yan <yan.ch...@gmail.com > <javascript:>> wrote: > > > > The describe 'release the physical memory' may not be rigorous. Because > gc remand the span,obj, or big obj to heap or central area, may not release > the physical memory. > > "When the next GC starts, it sweeps all not-yet-swept spans (if any)." > > maybe it is the sweeps termination phrase mean. > > BTW, I look the doc and look up three time of stw. > > sweep termination > > > > GC performs the mark phase. No objects may be > > > > // scanned until all Ps have enabled the write barrier, which is > > // accomplished using STW. > > > > mark termination phases. > > or "write barrier" accomplished during sweep termination? > > The write barrier is enabled as sweep termination completes. > > Ian >
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/3b7f3799-f44c-4640-908f-17e148b2fb6c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.