Skip to content

Commit 571a857

Browse files
authored
Bump version to v0.13. Update Rust edition to 2021. (#616)
1 parent c2c4df0 commit 571a857

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
0.13.0 (2022-06-27)
2+
===
3+
4+
Allocators
5+
---
6+
* Fixed a bug that in GC stress testing, the allocator slowpath may double count the allocated bytes.
7+
* Fixed a bug that in GC stress testing, the Immix allocator may miss the updates to the allocated bytes in some cases.
8+
9+
Scheduler
10+
---
11+
* Added work stealing mechanisms to the scheduler: a GC worker may steal work packets from other workers.
12+
* Fixed a bug that work buckets may be incorrectly opened when there is still work left in workers' local bucket.
13+
14+
API
15+
---
16+
* Added an associate type `Finalizable` to `ReferenceGlue`, with which, a binding can define their own finalizer type.
17+
* Added a set of malloc APIs that allows a binding to do malloc using MMTk.
18+
* Added `vm_trace_object()` to `ActivePlan`. When tracing an object that is not in any of MMTk spaces, MMTk will call this method
19+
and allow bindings to handle the object.
20+
21+
Misc
22+
---
23+
* `trait TransitiveClosure` is split into two different traits: `EdgeVisitor` and `ObjectQueue`, and `TransitiveClosure` is now removed.
24+
* Fixed a bug that the work packet statistics were not collected correctly if different work packets used the same display name.
25+
* Fixed a bug that the work packet statistics and the phase statistics use different time units. Now they both use milliseconds.
26+
* Fixed a bug that `acquire_lock` was used to lock a larger scope than what was necessary, which caused bad performance when we have many
27+
allocation threads (e.g. more than 24 threads).
28+
129
0.12.0 (2022-05-13)
230
===
331

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "mmtk"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
authors = ["The MMTk Developers <>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
description = "MMTk is a framework for the design and implementation of high-performance and portable memory managers."
88
homepage = "https://www.mmtk.io"
@@ -19,7 +19,7 @@ doctest = false
1919

2020
[dependencies]
2121
# MMTk macros
22-
mmtk-macros = { version = "0.12.0", path = "macros/" }
22+
mmtk-macros = { version = "0.13.0", path = "macros/" }
2323

2424
libc = "0.2"
2525
jemalloc-sys = { version = "0.3.2", features = ["disable_initial_exec_tls"], optional = true }

macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "mmtk-macros"
33
# the macro crate uses the same version as mmtk-core
4-
version = "0.12.0"
4+
version = "0.13.0"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
description = "MMTk macros provides procedural macros used by mmtk-core."

0 commit comments

Comments
 (0)