• J
    6484982: G1: process references during evacuation pauses · 9c3adbcc
    johnc 提交于
    Summary: G1 now uses two reference processors - one is used by concurrent marking and the other is used by STW GCs (both full and incremental evacuation pauses). In an evacuation pause, the reference processor is embedded into the closures used to scan objects. Doing so causes causes reference objects to be 'discovered' by the reference processor. At the end of the evacuation pause, these discovered reference objects are processed - preserving (and copying) referent objects (and their reachable graphs) as appropriate.
    Reviewed-by: ysr, jwilhelm, brutisso, stefank, tonyp
    9c3adbcc
thread.cpp 155.0 KB