On Thu, Jun 20, 2019 at 7:22 PM Chou Yan <
yan.cho...@gmail.com> 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?