From 9064a0b38c7a39399df096bc457737e0ac581f1b Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Fri, 27 Sep 2024 00:46:46 +0000 Subject: [PATCH 1/2] Update migration guide for #1205 --- docs/userguide/src/migration/prefix.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/userguide/src/migration/prefix.md b/docs/userguide/src/migration/prefix.md index f0f735dd45..2ecdbde015 100644 --- a/docs/userguide/src/migration/prefix.md +++ b/docs/userguide/src/migration/prefix.md @@ -32,6 +32,27 @@ Notes for the mmtk-core developers: ## 0.28.0 +### `handle_user_collection_request` returns `bool` + +```admonish tldr +`memory_manager::handle_user_collection_request` now returns a boolean value to indicate whether a GC +is triggered by the method or not. Bindings may use the return value to do some post-gc cleanup, or +simply ignore the return value. +``` + +API changes: + +- module `memory_manager` + + `handle_user_collection_request` now returns `bool` to indicate if a GC is triggered by the method. + Bindings may use the value, or simply ignore it. + +See also: + +- PR: +- Exampels: + + https://github.com/mmtk/mmtk-julia/pull/177: Ignore return value. + + ### `ObjectReference` must point inside an object ```admonish tldr From dfe2596fe946ee9eecc9c90bf3a15d90a3504a8d Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Fri, 27 Sep 2024 15:41:15 +1200 Subject: [PATCH 2/2] Update docs/userguide/src/migration/prefix.md Co-authored-by: Kunshan Wang --- docs/userguide/src/migration/prefix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/userguide/src/migration/prefix.md b/docs/userguide/src/migration/prefix.md index 2ecdbde015..51e8b0fc17 100644 --- a/docs/userguide/src/migration/prefix.md +++ b/docs/userguide/src/migration/prefix.md @@ -49,7 +49,7 @@ API changes: See also: - PR: -- Exampels: +- Examples: + https://github.com/mmtk/mmtk-julia/pull/177: Ignore return value.