[jdk11u-dev] Integrated: 8222005: ClassRedefinition crashes with: guarantee(false) failed: OLD and/or OBSOLETE method(s) found

Martin Doerr mdoerr at openjdk.org
Fri Jun 28 09:32:28 UTC 2024


On Wed, 26 Jun 2024 14:55:22 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Backport of [JDK-8222005](https://bugs.openjdk.org/browse/JDK-8222005) on top of https://github.com/openjdk/jdk11u-dev/pull/2816.
> 
> 1. jvmtiRedefineClasses.cpp requires manual integration, but all hunks are integrated (1st commit).
> 2. `constantPoolHandle other_cp` needs to be removed, because it's replaced in new code (2nd commit).

This pull request has now been integrated.

Changeset: 468d6a74
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/468d6a746e2cb0ffee2c81fa972a83c80e060a56
Stats:     99 lines in 3 files changed: 33 ins; 36 del; 30 mod

8222005: ClassRedefinition crashes with: guarantee(false) failed: OLD and/or OBSOLETE method(s) found

Remove optimizations from class redefinition that cause the guarantee hit

Reviewed-by: mbaesken
Backport-of: 2ff9f53a442a625316cb6fedd699008d68cebc15

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

PR: https://git.openjdk.org/jdk11u-dev/pull/2817


More information about the jdk-updates-dev mailing list