On Thu, Jun 20, 2019 at 7:00 PM Chou Yan <yan.chou.str...@gmail.com> wrote:
>
> Sorry.
> Which I understand is that 'sweep termination = clean up = release the 
> physical memory'
> The long comment is helpful.
> I got
> 'b. Sweep any unswept spans. There will only be unswept spans if this GC 
> cycle was forced before the expected time.'
> Dose it means 'sweep = scan the root span', like java cms 'gc root scan'? not 
> the release the physical memory?

If I understand you correctly, the answer is yes.  Physical memory is
released by the scavenger.  On tip see runtime/mgcscavenge.go.

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/CAOyqgcXuZF8jFDrX4B8jK3dYWeWobR1JXyTC0Sf7sdMe4H9dAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to