Skip to content

Commit a698f66

Browse files
authored
help load time regression in JuliaLang/julia#33615 (JuliaLang/julia#33757)
1 parent 0f014f0 commit a698f66

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Distributed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Base: getindex, wait, put!, take!, fetch, isready, push!, length,
1010
hash, ==, kill, close, isopen, showerror
1111

1212
# imports for use
13-
using Base: Process, Semaphore, JLOptions, AnyDict, buffer_writes, @sync_add,
13+
using Base: Process, Semaphore, JLOptions, buffer_writes, @sync_add,
1414
VERSION_STRING, binding_module, atexit, julia_exename,
1515
julia_cmd, AsyncGenerator, acquire, release, invokelatest,
1616
shell_escape_posixly, uv_error, something, notnothing, isbuffered

src/cluster.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function addprocs(manager::ClusterManager; kwargs...)
445445
end
446446

447447
function addprocs_locked(manager::ClusterManager; kwargs...)
448-
params = merge(default_addprocs_params(), AnyDict(kwargs))
448+
params = merge(default_addprocs_params(), Dict{Symbol,Any}(kwargs))
449449
topology(Symbol(params[:topology]))
450450

451451
if PGRP.topology !== :all_to_all
@@ -510,7 +510,7 @@ function set_valid_processes(plist::Array{Int})
510510
end
511511
end
512512

513-
default_addprocs_params() = AnyDict(
513+
default_addprocs_params() = Dict{Symbol,Any}(
514514
:topology => :all_to_all,
515515
:dir => pwd(),
516516
:exename => joinpath(Sys.BINDIR, julia_exename()),

src/remotecall.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# This file is a part of Julia. License is MIT: https://julialang.org/license
22

3+
abstract type AbstractRemoteRef end
4+
35
"""
46
client_refs
57
@@ -8,9 +10,7 @@ Tracks whether a particular `AbstractRemoteRef`
810
911
The `client_refs` lock is also used to synchronize access to `.refs` and associated `clientset` state.
1012
"""
11-
const client_refs = WeakKeyDict{Any, Nothing}() # used as a WeakKeySet
12-
13-
abstract type AbstractRemoteRef end
13+
const client_refs = WeakKeyDict{AbstractRemoteRef, Nothing}() # used as a WeakKeySet
1414

1515
"""
1616
Future(w::Int, rrid::RRID, v::Union{Some, Nothing}=nothing)

0 commit comments

Comments
 (0)