-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix attribution of "delayed" invalidations (#301)
"Delayed" invalidations occur during package loading in response to some event that happened before the package was loaded. Because the trigger is separated in time from its consequences, we did not formerly have a mechanism to clearly attribute these to a cause. Julia 1.9 has recently added more logging to make this more robust; this PR updates SnoopCompile to take advantage of the new information.
- Loading branch information
Showing
10 changed files
with
147 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
julia_version = "1.9.0-DEV" | ||
manifest_format = "2.0" | ||
project_hash = "0bc27949c56990fdb6d1c736921aa6799da2d200" | ||
|
||
[[deps.PkgC]] | ||
path = "PkgC" | ||
uuid = "c8e0c308-2b2c-4e17-bb0b-031502754b83" | ||
version = "0.1.0" | ||
|
||
[[deps.PkgD]] | ||
deps = ["PkgC"] | ||
path = "PkgD" | ||
uuid = "3a5fa9f4-f0a4-4856-859e-2bf0c30232a7" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name = "PkgC" | ||
uuid = "c8e0c308-2b2c-4e17-bb0b-031502754b83" | ||
authors = ["Tim Holy <[email protected]>"] | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module PkgC | ||
|
||
nbits(::Int8) = 8 | ||
nbits(::Int16) = 16 | ||
|
||
end # module PkgC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
julia_version = "1.9.0-DEV" | ||
manifest_format = "2.0" | ||
project_hash = "605498a297918c5643f56853f77795466548669e" | ||
|
||
[[deps.PkgC]] | ||
path = "../PkgC" | ||
uuid = "c8e0c308-2b2c-4e17-bb0b-031502754b83" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name = "PkgD" | ||
uuid = "3a5fa9f4-f0a4-4856-859e-2bf0c30232a7" | ||
authors = ["Tim Holy <[email protected]>"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
PkgC = "c8e0c308-2b2c-4e17-bb0b-031502754b83" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module PkgD | ||
|
||
using PkgC | ||
|
||
call_nbits(x::Integer) = PkgC.nbits(x) | ||
map_nbits(list) = map(call_nbits, list) | ||
nbits_list() = map_nbits(Integer[Int8(1), Int16(1)]) | ||
|
||
nbits_list() | ||
|
||
end # module PkgD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[deps] | ||
PkgC = "c8e0c308-2b2c-4e17-bb0b-031502754b83" | ||
PkgD = "3a5fa9f4-f0a4-4856-859e-2bf0c30232a7" |