Skip to content

Commit

Permalink
Revert "Use tempdir() to store heap snapshot files instead of abspatc…
Browse files Browse the repository at this point in the history
…h ~= rootdir (#50026)"

This reverts commit 877b368.
  • Loading branch information
vtjnash authored Jul 6, 2023
1 parent feb2988 commit e4ede7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Profile/src/Profile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ function take_heap_snapshot(filepath::String, all_one::Bool=false)
return filepath
end
function take_heap_snapshot(all_one::Bool=false)
f = joinpath(tempdir(), "$(getpid())_$(time_ns()).heapsnapshot")
f = abspath("$(getpid())_$(time_ns()).heapsnapshot")
return take_heap_snapshot(f, all_one)
end

Expand Down

0 comments on commit e4ede7e

Please sign in to comment.