Skip to content

Update migration guide for #1205 #1211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/userguide/src/migration/prefix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://github.com/mmtk/mmtk-core/issues/1205>
- Examples:
+ https://github.com/mmtk/mmtk-julia/pull/177: Ignore return value.


### `ObjectReference` must point inside an object

```admonish tldr
Expand Down
Loading