-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
heap snapshot: add gc roots and gc finalist roots to fix unrooted nodes #52618
Merged
IanButterworth
merged 4 commits into
JuliaLang:master
from
JianFangAtRai:jfang/heapsnapshot-unrooted-nodes-fix
Dec 30, 2023
Merged
heap snapshot: add gc roots and gc finalist roots to fix unrooted nodes #52618
IanButterworth
merged 4 commits into
JuliaLang:master
from
JianFangAtRai:jfang/heapsnapshot-unrooted-nodes-fix
Dec 30, 2023
Conversation
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
vtjnash
approved these changes
Dec 23, 2023
vchuravy
reviewed
Dec 23, 2023
IanButterworth
changed the title
add gc roots and gc finalist roots to fix unrooted nodes
heap snapshot: add gc roots and gc finalist roots to fix unrooted nodes
Dec 23, 2023
Co-authored-by: Valentin Churavy <[email protected]>
IanButterworth
added
the
merge me
PR is reviewed. Merge when all tests are passing
label
Dec 30, 2023
IanButterworth
added
the
backport 1.10
Change should be backported to the 1.10 release
label
Dec 30, 2023
Thanks for the reviews and the merge, @vchuravy, @vtjnash, @IanButterworth! Sorry I wasn't able to get to it because of the holidays, thanks for taking care of it. 😎 |
3 tasks
KristofferC
added a commit
that referenced
this pull request
Feb 6, 2024
Backported PRs: - [x] #51095 <!-- Fix edge cases where inexact conversions to UInt don't throw --> - [x] #52583 <!-- Don't access parent of triangular matrix in powm --> - [x] #52645 <!-- update --gcthreads section in command line options --> - [x] #52423 <!-- update nthreads info in versioninfo --> - [x] #52721 <!-- inference: Guard TypeVar special case against vararg --> - [x] #52637 <!-- fix finding bundled stdlibs even if they are e.g. devved in an environment higher in the load path --> - [x] #52752 <!-- staticdata: handle cycles in datatypes --> - [x] #52758 <!-- use a Dict instead of an IdDict for caching of the `cwstring` for Windows env variables --> - [x] #51375 <!-- Insert hardcoded backlinks to stdlib doc pages --> - [x] #52994 <!-- place work-stealing queue indices on different cache lines to avoid false-sharing --> - [x] #53015 <!-- Add type assertion in iterate for logicalindex --> - [x] #53032 <!-- Fix a list in GC devdocs --> - [x] #52748 - [x] #52856 - [x] #52878 - [x] #52754 - [x] #52228 - [x] #52924 - [x] #52569 <!-- Fix GC rooting during rehashing of iddict --> - [x] #52605 <!-- Default uplo in symmetric/hermitian --> - [x] #52618 <!-- heap snapshot: add gc roots and gc finalist roots to fix unrooted nodes --> - [x] #52781 <!-- fix type-stability bugs in Ryu code --> - [x] #53055 <!-- Profile: use full terminal cols to show function name --> - [x] #53096 - [x] #53076 - [x] #52841 <!-- Extensions: make loading of extensions independent of what packages are in the sysimage --> - [x] #52078 <!-- Replace `⇔` by `↔` in documentation --> - [x] #53035 <!-- use proper cache-line size variable in work-stealing queue --> - [x] #53066 <!-- doc: replace harr HTML entity by unicode --> - [x] #52996 <!-- Apple silicon has 128 byte alignment so fix our defines to match --> - [x] #53121 Non-merged PRs with backport label: - [ ] #52694 <!-- Reinstate similar for AbstractQ for backward compatibility --> - [ ] #51479 <!-- prevent code loading from lookin in the versioned environment when building Julia -->
KristofferC
removed
the
backport 1.10
Change should be backported to the 1.10 release
label
Feb 6, 2024
IanButterworth
added
backport 1.10
Change should be backported to the 1.10 release
and removed
backport 1.10
Change should be backported to the 1.10 release
labels
May 8, 2024
Drvi
pushed a commit
to RelationalAI/julia
that referenced
this pull request
Jun 7, 2024
…es (JuliaLang#52618) (cherry picked from commit fe0db7d)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is to fix the issue: #52432
Before the fix, we have hundreds of unrooted nodes while taking a heapsnapshot of the julia process.
After the fix, the number of unrooted nodes is zero.
The containment view on chrome DevTools:
Fixes #52432.