Skip to content

Conversation

@JamesWrigley
Copy link
Member

This should prevent invalidations, particularly in IJulia:

 inserting lock(io::IJulia.IJuliaStdio) @ IJulia ~/git/IJulia.jl/src/stdio.jl:17 invalidated:
   backedges: 1: superseding lock(::IO) @ Base io.jl:33 with MethodInstance for lock(::IO) (150 children)

 inserting unlock(io::IJulia.IJuliaStdio) @ IJulia ~/git/IJulia.jl/src/stdio.jl:18 invalidated:
   backedges: 1: superseding unlock(::IO) @ Base io.jl:34 with MethodInstance for unlock(::IO) (2275 children)

See for example: JuliaLang/IJulia.jl#1192 (comment)

This should prevent invalidations, particularly in IJulia.
@nsajko
Copy link
Member

nsajko commented Jan 24, 2026

xref PR #59377

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.

3 participants