From e56874ee4ff676eebdfd6d2bbfa0203ecf23a548 Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Fri, 20 Dec 2024 01:05:34 +0000 Subject: [PATCH 1/3] Bump version to v0.30 --- CHANGELOG.md | 97 +++++++++++++++++++++++++++++++++++++++++++++++++ mmtk/.gitignore | 1 + mmtk/Cargo.lock | 10 ++--- mmtk/Cargo.toml | 4 +- 4 files changed, 105 insertions(+), 7 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..0adfc5be --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,97 @@ +0.30.0 (2024-12-20) +=== + +The initial release for MMTk Julia. It includes support for a non-moving Immix plan. +The version follows MMTk projects convention that the binding uses the same version as mmtk-core. + +## What's Changed +* Fixing run pending finalizers by @udesou in https://github.com/mmtk/mmtk-julia/pull/14 +* Fix/segfault rai by @udesou in https://github.com/mmtk/mmtk-julia/pull/16 +* CI GitHub action (#13) by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/23 +* Update/julia master by @udesou in https://github.com/mmtk/mmtk-julia/pull/18 +* Update Julia by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/24 +* Allow MMTk core to test Julia binding by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/25 +* Set enum-map >= 2.1 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/27 +* Remove some warnings when compiling Julia by @kpamnany in https://github.com/mmtk/mmtk-julia/pull/29 +* Use immix_no_nursery_copy. Update rust toolchain by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/31 +* Remove some code by @kpamnany in https://github.com/mmtk/mmtk-julia/pull/37 +* Update to mmtk-core PR #781 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/40 +* Update README.md by @NHDaly in https://github.com/mmtk/mmtk-julia/pull/47 +* Treat task.gcstacks as roots by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/52 +* Update Julia to use MMTk for perm alloc by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/51 +* Expose object reference write by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/55 +* Implement JuliaMemorySlice, and expose mmtk_memory_region_copy by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/53 +* Use MMTK VM space by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/56 +* Support sticky immix by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/48 +* Update to MMTk core PR #817 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/58 +* Update to mmtk-core PR #838 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/61 +* Update Julia upstream 909c57f by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/60 +* Update the total (gc) time in Julia's gc_num by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/62 +* Fix the argument type in get_lo_size by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/32 +* Rename ambiguous `scan_thread_root{,s}` functions by @k-sareen in https://github.com/mmtk/mmtk-julia/pull/63 +* Embed mutator in _jl_tls_states_t by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/64 +* Assert alloc size alignment by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/68 +* Simplify process_edge by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/72 +* Add an assertion in process_edge to make sure objects are in MMTk heap. by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/75 +* Update README by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/76 +* Remove counted malloc by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/80 +* Fix the wrong julia version when PR#80 was merged. by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/81 +* Use Julia's finalizer implementation by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/78 +* Use cheap safepoint in alloc by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/83 +* Inline runtime alloc by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/79 +* Rewriting C code for scan_object, get_size, and get_object_start_ref in Rust by @udesou in https://github.com/mmtk/mmtk-julia/pull/82 +* Update ci-test.sh by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/85 +* Remove the statically linked C code by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/87 +* Update to MMTk core PR #875 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/86 +* Making sure worker_tls is different than the mutator tls by @udesou in https://github.com/mmtk/mmtk-julia/pull/90 +* Remove global ROOT_NODES/EDGES (merge after #86) by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/89 +* Fixing mismatch between C and Rust version of Julia functions by @udesou in https://github.com/mmtk/mmtk-julia/pull/92 +* Improving CI tests by @udesou in https://github.com/mmtk/mmtk-julia/pull/95 +* Update Julia upstream 43bf2c8 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/71 +* Setting up a small set of tests to run from mmtk-core's CI by @udesou in https://github.com/mmtk/mmtk-julia/pull/97 +* Splitting LinearAlgebra tests by @udesou in https://github.com/mmtk/mmtk-julia/pull/103 +* Updating code to reflect API change; Bumping rust-toolchain to 1.71.1 by @udesou in https://github.com/mmtk/mmtk-julia/pull/99 +* Refactoring block_for_gc by @udesou in https://github.com/mmtk/mmtk-julia/pull/100 +* Remove code that iterates over bindings table by @udesou in https://github.com/mmtk/mmtk-julia/pull/91 +* Update README.md by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/105 +* Update to MMTk core PR #949 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/109 +* Run CI and mergify for v1.9.2+RAI by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/112 +* Updating to latest version of mmtk-core by @udesou in https://github.com/mmtk/mmtk-julia/pull/111 +* Escape + in the branch name for the workflow trigger by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/117 +* Check with is_in_mmtk_spaces instead of is_mapped_address by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/123 +* Ask from binding if GC is disabled by @udesou in https://github.com/mmtk/mmtk-julia/pull/126 +* Supporting moving immix by @udesou in https://github.com/mmtk/mmtk-julia/pull/93 +* Stop using Julia's size classes when using MMTk by @udesou in https://github.com/mmtk/mmtk-julia/pull/108 +* Hotfix alignment strings by @udesou in https://github.com/mmtk/mmtk-julia/pull/139 +* Remove the coordinator thread by @wks in https://github.com/mmtk/mmtk-julia/pull/127 +* Use to_address for SFT access by @wks in https://github.com/mmtk/mmtk-julia/pull/144 +* Remove NULL ObjectReference by @wks in https://github.com/mmtk/mmtk-julia/pull/146 +* Fix write barrier parameter type by @wks in https://github.com/mmtk/mmtk-julia/pull/148 +* Update Julia to PR#48 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/149 +* Rename edge to slot by @wks in https://github.com/mmtk/mmtk-julia/pull/150 +* Update to MMTK core PR #1159 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/160 +* Update Julia to latest master by @udesou in https://github.com/mmtk/mmtk-julia/pull/164 +* Require ObjectReference to point inside object by @wks in https://github.com/mmtk/mmtk-julia/pull/173 +* Update to mmtk-core PR #1205 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/177 +* Updating our dev branches by @udesou in https://github.com/mmtk/mmtk-julia/pull/182 +* Updating dev by @udesou in https://github.com/mmtk/mmtk-julia/pull/186 +* Process pinning roots - port PR #142 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/192 +* Adding `GC: MMTk` tag to Julia's banner when building with MMTk by @udesou in https://github.com/mmtk/mmtk-julia/pull/193 +* Update to Julia PR #73 by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/194 +* README.md: expand build instructions and put "quick start" first by @stephenrkell in https://github.com/mmtk/mmtk-julia/pull/195 +* Deal with GC preserve stacks by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/191 +* Move `bigval_t` struct to gc-common.h and loop through `GCAllocBytes` uses to apply fastpath allocation for MMTk by @udesou in https://github.com/mmtk/mmtk-julia/pull/196 +* Support VO bit by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/197 +* Updating dev to 2590e675 by @udesou in https://github.com/mmtk/mmtk-julia/pull/199 +* Use MMTk's VO bit spec by @qinsoon in https://github.com/mmtk/mmtk-julia/pull/200 +* Removing `WITH_MMTK` by @udesou in https://github.com/mmtk/mmtk-julia/pull/202 +* Conservative stack scanning by @udesou in https://github.com/mmtk/mmtk-julia/pull/203 + +## New Contributors +* @kpamnany made their first contribution in https://github.com/mmtk/mmtk-julia/pull/29 +* @NHDaly made their first contribution in https://github.com/mmtk/mmtk-julia/pull/47 +* @k-sareen made their first contribution in https://github.com/mmtk/mmtk-julia/pull/63 +* @wks made their first contribution in https://github.com/mmtk/mmtk-julia/pull/127 +* @stephenrkell made their first contribution in https://github.com/mmtk/mmtk-julia/pull/195 + +**Full Changelog**: https://github.com/mmtk/mmtk-julia/commits/v0.30.0 diff --git a/mmtk/.gitignore b/mmtk/.gitignore index ea8c4bf7..dbcace33 100644 --- a/mmtk/.gitignore +++ b/mmtk/.gitignore @@ -1 +1,2 @@ /target +src/julia_types.rs diff --git a/mmtk/Cargo.lock b/mmtk/Cargo.lock index 72bf3396..a54b8f49 100644 --- a/mmtk/Cargo.lock +++ b/mmtk/Cargo.lock @@ -572,8 +572,8 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "mmtk" -version = "0.27.0" -source = "git+https://github.com/mmtk/mmtk-core.git?rev=de10fa4c3bc0a2a5010b9ce04a540c63b14dc214#de10fa4c3bc0a2a5010b9ce04a540c63b14dc214" +version = "0.30.0" +source = "git+https://github.com/qinsoon/mmtk-core.git?rev=7ce3d8a0c26d64b535c5a1b9ffd4c70037351fac#7ce3d8a0c26d64b535c5a1b9ffd4c70037351fac" dependencies = [ "atomic 0.6.0", "atomic-traits", @@ -608,7 +608,7 @@ dependencies = [ [[package]] name = "mmtk-julia" -version = "0.29.0" +version = "0.30.0" dependencies = [ "atomic 0.4.6", "bindgen", @@ -626,8 +626,8 @@ dependencies = [ [[package]] name = "mmtk-macros" -version = "0.27.0" -source = "git+https://github.com/mmtk/mmtk-core.git?rev=de10fa4c3bc0a2a5010b9ce04a540c63b14dc214#de10fa4c3bc0a2a5010b9ce04a540c63b14dc214" +version = "0.30.0" +source = "git+https://github.com/qinsoon/mmtk-core.git?rev=7ce3d8a0c26d64b535c5a1b9ffd4c70037351fac#7ce3d8a0c26d64b535c5a1b9ffd4c70037351fac" dependencies = [ "proc-macro-error", "proc-macro2", diff --git a/mmtk/Cargo.toml b/mmtk/Cargo.toml index 2354ec12..c68743e0 100644 --- a/mmtk/Cargo.toml +++ b/mmtk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mmtk-julia" -version = "0.29.0" +version = "0.30.0" authors = ["Eduardo Souza ", "Yi Lin "] build = "build.rs" edition = "2018" @@ -27,7 +27,7 @@ lazy_static = "1.1" # - change branch # - change repo name # But other changes including adding/removing whitespaces in commented lines may break the CI -mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "de10fa4c3bc0a2a5010b9ce04a540c63b14dc214" } +mmtk = { git = "https://github.com/qinsoon/mmtk-core.git", rev = "7ce3d8a0c26d64b535c5a1b9ffd4c70037351fac" } # Uncomment the following to build locally # mmtk = { path = "../repos/mmtk-core" } log = {version = "0.4", features = ["max_level_trace", "release_max_level_off"] } From 481c35e7f317fe62542392c963ec5a07e879188e Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Fri, 20 Dec 2024 02:01:30 +0000 Subject: [PATCH 2/3] Keep v0.29. Update CHANGELOG --- CHANGELOG.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adfc5be..b586a5ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ 0.30.0 (2024-12-20) === +## What's Changed +* Update mmtk-core to v0.30.0 + +**Full Changelog**: https://github.com/mmtk/mmtk-julia/compare/v0.29.0..v0.30.0 + + +0.29.0 (2024-12-18) +=== + The initial release for MMTk Julia. It includes support for a non-moving Immix plan. The version follows MMTk projects convention that the binding uses the same version as mmtk-core. @@ -94,4 +103,4 @@ The version follows MMTk projects convention that the binding uses the same vers * @wks made their first contribution in https://github.com/mmtk/mmtk-julia/pull/127 * @stephenrkell made their first contribution in https://github.com/mmtk/mmtk-julia/pull/195 -**Full Changelog**: https://github.com/mmtk/mmtk-julia/commits/v0.30.0 +**Full Changelog**: https://github.com/mmtk/mmtk-julia/commits/v0.29.0 From 95dec3678fff478b06a565daa69caae064cac2ea Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Fri, 20 Dec 2024 16:50:05 +1300 Subject: [PATCH 3/3] Update Cargo.toml --- mmtk/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmtk/Cargo.toml b/mmtk/Cargo.toml index c68743e0..4ef7b86a 100644 --- a/mmtk/Cargo.toml +++ b/mmtk/Cargo.toml @@ -27,7 +27,7 @@ lazy_static = "1.1" # - change branch # - change repo name # But other changes including adding/removing whitespaces in commented lines may break the CI -mmtk = { git = "https://github.com/qinsoon/mmtk-core.git", rev = "7ce3d8a0c26d64b535c5a1b9ffd4c70037351fac" } +mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "c0f97884234b51b13c8ba5d1563a8e0f592d11c2" } # Uncomment the following to build locally # mmtk = { path = "../repos/mmtk-core" } log = {version = "0.4", features = ["max_level_trace", "release_max_level_off"] }