[jdk25u-dev] Integrated: 8361363: ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
Vishal Chand
duke at openjdk.org
Sun Nov 30 20:14:52 UTC 2025
On Fri, 28 Nov 2025 01:22:02 GMT, Vishal Chand <duke at openjdk.org> wrote:
> Backport of:
>
> JDK-8361363 - ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
> This change fixes Shenandoah’s print_obj() so it correctly prints forwarded objects when compact object headers are enabled, instead of crashing by reading an invalid klass from the forwarding pointer.
>
> Risk is Low as this is a clean backport and the changes are in diagnostic code.
This pull request has now been integrated.
Changeset: 2121b3b5
Author: Vishal Chand <vishalvc at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/2121b3b594c5cf5fe8abf34af683f8761d5f7bef
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
8361363: ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
Backport-of: fe264676337cdef0d7477b0b57ff9d2fe8f9fc0f
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/28
More information about the jdk-updates-dev
mailing list