mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
45d36eac83
When performing young GC, we can encounter some WeakReferences which get into corresponding ReferenceQueue. In this case queue internal state will be updated. After it defragmentation phase runs which updates references to relocated objects. For performance reason, defragmentation phase scans only regions either marked with write barriers or regions that contain surviving objects in young generation. However, sometimes a queue can be in neither of these sets, so we additionally mark regions containing all affected queues. |
||
---|---|---|
.. | ||
src | ||
pom.xml |