Skip to content

Commit

Permalink
Update migration guide for #1205 (#1211)
Browse files Browse the repository at this point in the history
Co-authored-by: Kunshan Wang <[email protected]>
  • Loading branch information
qinsoon and wks authored Sep 27, 2024
1 parent 7cfebda commit de10fa4
Showing 1 changed file with 21 additions and 0 deletions.
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

0 comments on commit de10fa4

Please sign in to comment.