8273559: Shenandoah: Shenandoah should support multi-threaded heap dump #5473
At the point when Shenandoah implemented heap dump, there was no ClassLoaderData::_claim_other flag. To avoid CLDG iteration interfering concurrent GC, we chosen single-threaded CLDG iteration with ClassLoaderData::_claim_none and ensured that by asserting calling thread has to be VMThread.
JDK-8237354 broke the assumption, as it uses safepoint worker to execute heap dump, so that the thread executes CLDG iteration is not necessary VMThread.
Now, with new ClassLoaderData::_claim_other, we can enable multi-threaded CLDG iteration during heap dump.
The text was updated successfully, but these errors were encountered:
@zhengyu123 This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 33 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.
@zhengyu123 this pull request can not be integrated into
git checkout JDK-8273559-heap-dump git fetch https://git.openjdk.java.net/jdk master git merge FETCH_HEAD # resolve conflicts and follow the instructions given by git merge git commit -m "Merge master" git push
Going to push as commit 8132bfd.
Your commit was automatically rebased without conflicts.