Skip to content

Add counts of tasks that copy stacks#161

Closed
kpamnany wants to merge 1 commit intov1.10.2+RAIfrom
kp-count-copy-stacks-tasks
Closed

Add counts of tasks that copy stacks#161
kpamnany wants to merge 1 commit intov1.10.2+RAIfrom
kp-count-copy-stacks-tasks

Conversation

@kpamnany
Copy link
Copy Markdown

PR Description

When Julia cannot mmap a stack buffer for a task, it falls back to a stack copying implementation for that task. Add two counters that record the total and current numbers of such tasks and interfaces to retrieve them.

Checklist

Requirements for merging:

  • I have opened an issue or PR upstream on JuliaLang/julia: <link to JuliaLang/julia>
  • I have removed the port-to-* labels that don't apply.
  • I have opened a PR on raicode to test these changes:

@github-actions github-actions bot added port-to-v1.10 port-to-v1.12 This change should apply to Julia v1.12 builds labels Jun 27, 2024
@kpamnany kpamnany force-pushed the kp-count-copy-stacks-tasks branch from 24f5bc3 to d799d08 Compare June 27, 2024 23:07
Both the total and current counts.
@kpamnany kpamnany force-pushed the kp-count-copy-stacks-tasks branch from d799d08 to 7286fa7 Compare June 28, 2024 13:10
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity. Comment or remove stale label, or this PR will be closed in 5 days.

@github-actions github-actions bot added the stale This pull request is inactive label Jul 29, 2024
@kpamnany kpamnany removed the stale This pull request is inactive label Jul 29, 2024
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity. Comment or remove stale label, or this PR will be closed in 5 days.

@github-actions github-actions bot added the stale This pull request is inactive label Aug 29, 2024
@github-actions github-actions bot closed this Sep 4, 2024
@d-netto d-netto removed the port-to-v1.12 This change should apply to Julia v1.12 builds label Jan 30, 2025
github-actions bot pushed a commit that referenced this pull request Apr 4, 2026
Stdlib: Distributed
URL: https://github.com/JuliaLang/Distributed.jl
Stdlib branch: master
Julia branch: master
Old commit: cd92195
New commit: d439c24
Julia version: 1.14.0-DEV
Distributed version: 1.11.0 (Does not match)
Bump invoked by: @DilumAluthge
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Distributed.jl@cd92195...d439c24

```
$ git log --oneline cd92195..d439c24
d439c24 CI: Add a CI job that runs JET tests (#164)
d396a8c Fix some JET errors around matching methods for `send_connection_hdr(...)` and `send_msg_now(...)` (#180)
231da28 Fix some JET errors around matching methods for `kill(...)` and `process_exited(...)` (#172)
2adcd26 Rename one method of `run_work_thunk()` to `run_work_thunk_remotevalue()`; this fixes a JET error around matching methods for `run_work_thunk(...)` (#181)
1bc91f9 Fix a JET error regarding the existence of the local variable `reducer` at a certain point (#169)
b7c43b2 Fix a JET error around matching methods for `push!(...)` (#173)
d06aa73 Fix a JET error around matching methods for `getindex(...)` (#170)
0cf9910 Fix a JET error around matching methods for `read_worker_host_port(...)` (#171)
9f6459f Fix JET errors around matching methods for `lock(...)` and `unlock(...)` (#167)
9724553 Fix a JET error around matching methods for `shell_escape_wincmd(...)` (#174)
d65a996 Fix a JET error by narrowing the type signature of the `create_worker(x, y)` function (#175)
3ebddd3 avoid `Core.Box` in the package (#161)
2fe1aa4 Change `Distributed.cluster_manager` from a global non-constant `ClusterManager` to a global constant `Ref{ClusterManager}` (#177)
6649a94 Ensure correct type parameter of serialized RemoteChannel (#179)
871e3d7 Fix JET errors around matching methods for `send_msg_now(...)` (#165)
56fa9f2 Fix JET errors around matching methods for `send_msg(...)` (#166)
a6195c0 Bump actions/checkout from 5 to 6 (#155)
```

Co-authored-by: DilumAluthge <5619885+DilumAluthge@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale This pull request is inactive

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants