Skip to content

Conversation

@udesou
Copy link

@udesou udesou commented Jan 24, 2024

At least one of the issues with sticky immix back ported to v1.9.2+RAI is that bindings may occur in the remset. However, bindings are currently skipped when scanned by MMTk since they are allocated as buffers. Therefore, we need a way to specify which bindings should actually be scanned since they were added via write barrier.

Possible sources of problems that haven't been verified yet:
(i) can the bits.gc value change after being set by the write barrier?
(ii) should we reset the value after the object has been scanned?

@qinsoon qinsoon merged commit dc7b07e into mmtk:v1.9.2+RAI Jan 29, 2024
qinsoon pushed a commit to mmtk/mmtk-julia that referenced this pull request Jan 29, 2024
This PR should be merged with mmtk/julia#32. 

Copying the description here for simplicity:

> At least one of the issues with sticky immix back ported to
[v1.9.2+RAI](https://github.com/mmtk/mmtk-julia/tree/v1.9.2%2BRAI) is
that bindings [may occur in the
remset](https://github.com/mmtk/julia/blob/c01026c91a3e2e6a064e75e0d4d4cc2f8c0d4c77/src/gc.c#L2417-L2433).
However, bindings are currently skipped when scanned by MMTk since they
are allocated as buffers. Therefore, we need a way to specify which
bindings should actually be scanned since they were added via write
barrier.
> 
> Possible sources of problems that haven't been verified yet:
> (i) can the `bits.gc` value change after being set by the write
barrier?
> (ii) should we reset the value after the object has been scanned?

This PR adds code for scanning buffers that are Julia bindings that were
added in the write barrier.
qinsoon pushed a commit to qinsoon/julia that referenced this pull request Jan 31, 2024
qinsoon pushed a commit to qinsoon/julia that referenced this pull request May 2, 2024
…liaLang#54064)

Stdlib: NetworkOptions
URL: https://github.com/JuliaLang/NetworkOptions.jl.git
Stdlib branch: master
Julia branch: master
Old commit: aab83e5
New commit: 8eec5cb
Julia version: 1.12.0-DEV
NetworkOptions version: 1.2.0(Does not match)
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/NetworkOptions.jl@aab83e5...8eec5cb

```
$ git log --oneline aab83e5..8eec5cb
8eec5cb Hardcode doc edit backlink (mmtk#32)
0bd3345 also reset SYSTEM_CA_ROOTS and ENV_HOST_PATTERN_CACHE from __init__ (mmtk#35)
```

Co-authored-by: Dilum Aluthge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants