|
| 1 | +0.10.0 (2022-02-14) |
| 2 | +=== |
| 3 | + |
| 4 | +GC Plans |
| 5 | +--- |
| 6 | +* Removed plan-specific copy contexts. Now each plan needs to provide a configuration for |
| 7 | + `GCWorkerCopyContext` (similar to how they config `Mutator`). |
| 8 | +* Fixed a bug that `needs_log_bit` was always set to `true` for generational plans, no matter |
| 9 | + their barrier used the log bit or not. |
| 10 | +* Fixed a bug that we may overflow when calculating `get_available_pages()`. |
| 11 | + |
| 12 | +Policies |
| 13 | +--- |
| 14 | +* Refactored copy context. Now a copying policy provides its copy context. |
| 15 | +* Mark sweep and mark compact now uses `ObjectIterator` for linear scan. |
| 16 | + |
| 17 | +Scheduler |
| 18 | +--- |
| 19 | +* Introduced `GCController`, a counterpart of `GCWorker`, for the controller thread. |
| 20 | +* Refactored `GCWorker`. Now `GCWorker` is seperated into two parts, a thread local part `GCWorker` |
| 21 | + which is owned by GC threads, and a shared part `GCWorkerShared` that is shared between GC threads |
| 22 | + and the scheduler. |
| 23 | +* Refactored the creation of the scheduler and the workers to remove some unnecessary `Option<T>` and `RwLock<T>`. |
| 24 | + |
| 25 | +API |
| 26 | +--- |
| 27 | +* Added `process_bulk()` that allows bindings to pass options as a string of key-value pairs. |
| 28 | +* `ObjectModel::copy()` now takes `CopySemantics` as a parameter. |
| 29 | +* Renamed `Collection::spawn_worker_thread()` to `spawn_gc_thread()`, which is now used to spawn both GC worker and |
| 30 | + GC controller. |
| 31 | +* `Collection::out_of_memory()` now takes `AllocationError` as a parameter which hints the binding |
| 32 | + on how to handle the OOM error. |
| 33 | +* `Collection::out_of_memory()` now allows a binding to return from the method in the case of a non-critical OOM. |
| 34 | + If a binding returns, `alloc()` will return a zero address. |
| 35 | + |
| 36 | +Misc |
| 37 | +--- |
| 38 | +* Added `ObjectIterator` that provides linear scanning through a region to iterate |
| 39 | + objects using the alloc bit. |
| 40 | +* Added a feature `work_packet_stats` to optionally collect work packet statistics. Note that |
| 41 | + MMTk used to always collect work packet statistics. |
| 42 | +* Optimized the access to the SFT map. |
| 43 | +* Fixed a few issues with documentation. |
| 44 | +* The example header file `mmtk.h` now uses the prefix `mmtk_` for all the functions. |
| 45 | + |
1 | 46 | 0.9.0 (2021-12-16) |
2 | 47 | === |
3 | 48 |
|
|
0 commit comments