-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8326715: ZGC: RunThese24H fails with ExitCode 139 during shutdown #19510
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
Conversation
👋 Welcome back mgronlun! A progress list of the required criteria for merging this PR into |
@mgronlun This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 251 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
/integrate |
Going to push as commit cdf22b1.
Your commit was automatically rebased without conflicts. |
/backport jdk23 |
@mgronlun The target repository |
/backport openjdk jdk23 |
@mgronlun The target repository |
/backport openjdk/jdk23 |
@mgronlun The target repository |
/backport openjdk:jdk23 |
@mgronlun The target repository |
/backport openjdk/jdk;jdk23 |
@mgronlun The target repository |
/backport openjdk/jdk:jdk23 |
@mgronlun the backport was successfully created on the branch backport-mgronlun-cdf22b13-jdk23 in my personal fork of openjdk/jdk. To create a pull request with this backport targeting openjdk/jdk:jdk23, just click the following link: The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk:
|
Objects with static storage duration will implicitly add their destructors to the std::atexit callbacks list. During process shutdown, the C routine __ run_exit_handlers() invokes the destructors on the std::atexit callback list.
The RefCountHandle has static storage and a destructor that decrements a reference counted pointer and, if necessary, deletes the pointee's contents. In this case, this pointee includes yet another embedded RefCountHandle.
When the destructor is invoked, it causes a cascade of handles to be destroyed, so many that it causes a stack overflow. The list contains about 87000 entries. These reference-counted pointees are blobs saving metadata-related information about class unloading.
The DeprecationManager subsystem lacks a filtering mechanism, similar to the ObjectSampler subsystem, to decide what to save concerning class unloading blobs.
One solution is to consolidate the preservation of type set blobs for both the DeprecatedManager and the ObjectSampler subsystems. Additionally, filtering will prevent the storage of redundant data. This, coupled with more frequent scavenging of the list, will effectively avert a stack overflow.
Testing: jdk_jfr, stress testing
Thanks
Markus
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/19510/head:pull/19510
$ git checkout pull/19510
Update a local copy of the PR:
$ git checkout pull/19510
$ git pull https://git.openjdk.org/jdk.git pull/19510/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 19510
View PR using the GUI difftool:
$ git pr show -t 19510
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/19510.diff
Webrev
Link to Webrev Comment