Integrated: 8360288: Shenandoah crash at size_given_klass in op_degenerated
William Kemper
wkemper at openjdk.org
Wed Jul 16 17:33:45 UTC 2025
On Thu, 10 Jul 2025 22:20:00 GMT, William Kemper <wkemper at openjdk.org> wrote:
> Both degenerated and full GCs unload classes before reclaiming unmarked humongous objects. This may result in a null klass pointer dereference when reclaiming unmarked humongous objects. Prior to this change, the number of regions occupied by a humongous object was computed from the size of the object. To avoid using `oop::size` after class unloading on an unmarked object, Shenandoah now trashes the humongous start region followed by subsequent continuation regions.
This pull request has now been integrated.
Changeset: 3b44d7bf
Author: William Kemper <wkemper at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3b44d7bfa4d78e3ec715fce1863e052852f33180
Stats: 20 lines in 2 files changed: 3 ins; 7 del; 10 mod
8360288: Shenandoah crash at size_given_klass in op_degenerated
Reviewed-by: shade
-------------
PR: https://git.openjdk.org/jdk/pull/26256
More information about the hotspot-gc-dev
mailing list