MMTk 0.12.0
Pre-release
Pre-release
GC Plans
- Introduced
trait PlanTraceObject
and procedural macros to derive implementation for it for all the current plans. - Introduced a work packet type
PlanProcessEdges
that usesPlanTraceObject
. All the current plans use this type for tracing objects.
Policy
- Introduced
trait PolicyTraceObject
. Added an implementation for each policy.
API
- Preliminary support for Java-style weak reference is added (set the option
no_reference_types=false
to enable it). Related APIs are slightly changed. - The type parameter
TransitiveClosure
inScanning::scan_object()/scan_objects()
is now replaced withvm::EdgeVisitor
. - Minor changes to
Scanning::scan_object()/scan_objects()
so they are more consistent.
Misc
- Fixed a bug in object forwarding: an object can leave the being-forwarded state without actually being forwarded, and this
now won't cause a panic.