[jdk18] Integrated: 8278239: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine failed with EXCEPTION_ACCESS_VIOLATION at 0x000000000000000d

Coleen Phillimore coleenp at openjdk.java.net
Wed Dec 22 17:22:19 UTC 2021


On Tue, 21 Dec 2021 20:51:04 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This is the fix for https://github.com/openjdk/jdk/pull/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.

This pull request has now been integrated.

Changeset: 2be3e7ef
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk18/commit/2be3e7ef1cff1aae6faf1f4f0545d561af48d0ba
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

8278239: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine failed with EXCEPTION_ACCESS_VIOLATION at 0x000000000000000d

Reviewed-by: kvn, sspitsyn, eosterlund

-------------

PR: https://git.openjdk.java.net/jdk18/pull/63


More information about the serviceability-dev mailing list