Skip to content

Commit

Permalink
Bump version to v0.14. (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon authored Aug 8, 2022
1 parent 89a6f4a commit a96e8f9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
0.14.0 (2022-08-08)
===

API
---
* `ProcessEdgesWork` is no longer exposed in the `Scanning` trait. Instead, `RootsWorkFactory` is introduced
for the bindings to create more work packets.
* `Collection::stop_all_mutators()` now provides a callback `mutator_visitor`. The implementation is required
to call `mutator_visitor` for each mutator once it is stopped. This requirement was implicit prior to this change.
* Now MMTk creation is done in the builder pattern:
* `MMTKBuilder` is introduced. Command line argument processing API (`process()` and `process_bulk()`) now
takes `&MMTKBuilder` as an argument instead of `&MMTK`.
* `gc_init()` is renamed to `mmtk_init()`. `mmtk_init()` now takes `&MMTKBuilder` as an argument,
and returns an MMTk instance `Box<MMTK>`.
* `heap_size` (which used to be an argument for `gc_init()`) is now an MMTk option.
* All the options now can be set through the command line argument processing API.
* Node enqueuing is supported:
* Add `Scanning::support_edge_enqueuing()`. A binding may return `false` if they cannot do edge scanning for certain objects.
* For objects that cannot be enqueued as edges, `Scanning::scan_object_and_trace_edges()` will be called.


Scheduler
---
* Fixed a bug that may cause deadlock when GC workers are parked and the coordinator is still executing work.

Misc
---
* `Plan::gc_init()` and `Space::init()` are removed. Initialization is now properly done in the respective constructors.


0.13.0 (2022-06-27)
===

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mmtk"
version = "0.13.0"
version = "0.14.0"
authors = ["The MMTk Developers <>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -19,7 +19,7 @@ doctest = false

[dependencies]
# MMTk macros
mmtk-macros = { version = "0.13.0", path = "macros/" }
mmtk-macros = { version = "0.14.0", path = "macros/" }

libc = "0.2"
jemalloc-sys = { version = "0.3.2", features = ["disable_initial_exec_tls"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "mmtk-macros"
# the macro crate uses the same version as mmtk-core
version = "0.13.0"
version = "0.14.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "MMTk macros provides procedural macros used by mmtk-core."
Expand Down

0 comments on commit a96e8f9

Please sign in to comment.