[jdk17u-dev] Integrated: 8256291: RunThese30M fails "assert(_class_unload ? true : ((((JfrTraceIdBits::load(class_loader_klass)) & ((1 << 4) << 8)) != 0))) failed: invariant"
Rinku Kumar Maurya
duke at openjdk.org
Fri May 31 08:44:08 UTC 2024
On Wed, 29 May 2024 13:23:46 GMT, Rinku Kumar Maurya <duke at openjdk.org> wrote:
> ClassLoaderData tagging should be changed to include the `class_loader_klass` as well at the tag site, so that an already tagged `cld` implies that `cld->class_loader_klass()` is also appropriately marked. If it's not done, then this unmarked/untagged class_loader_klass may get unloaded and referencing a dead class can cause crashes.
This pull request has now been integrated.
Changeset: 1de0c0a8
Author: Rinku Kumar Maurya <rkmaurya at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/1de0c0a805f68914aec7358fc4aa9c9d2499ec98
Stats: 9 lines in 1 file changed: 7 ins; 0 del; 2 mod
8256291: RunThese30M fails "assert(_class_unload ? true : ((((JfrTraceIdBits::load(class_loader_klass)) & ((1 << 4) << 8)) != 0))) failed: invariant"
Backport-of: e38df21641f13d7ae92f72cf8e72660072d3e5fe
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/2507
More information about the jdk-updates-dev
mailing list