8278239: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine failed with EXCEPTION_ACCESS_VIOLATION at 0x000000000000000d #63
Conversation
…ith EXCEPTION_ACCESS_VIOLATION at 0x000000000000000d
|
/label add hotspot |
@coleenp |
@coleenp |
@coleenp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
@coleenp This change now passes all automated pre-integration checks. 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 7 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
/reviewer add fisk |
@coleenp Syntax:
|
@coleenp Could not parse
|
Thanks for reviewing, Vladimir and Serguei. |
/reviewer credit @fisk trying again. |
@coleenp |
/integrate |
Going to push as commit 2be3e7e.
Your commit was automatically rebased without conflicts. |
This is the fix for openjdk/jdk#6900 retargeted to JDK 18.
Thanks to @stefank and @fisk for the diagnosis. ZGC is looking at metadata in unloaded nmethods, but redefinition doesn't keep this metadata from being deallocated. Change the iterators that mark metadata in use to walk unloaded nmethods as well as other alive nmethods.
The test case reproduces the crash on windows if run in an 100 iteration loop. This fix does not crash in the same test. Also ran tier1-6.
Above testing in progress.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk18 pull/63/head:pull/63
$ git checkout pull/63
Update a local copy of the PR:
$ git checkout pull/63
$ git pull https://git.openjdk.java.net/jdk18 pull/63/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 63
View PR using the GUI difftool:
$ git pr show -t 63
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk18/pull/63.diff