[jdk25u-dev] RFR: 8361363: ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
duke
duke at openjdk.org
Fri Nov 28 12:49:54 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.
@vish-chan
Your change (at version a955fe379a697ee9ebedef07885fc6a6f8835676) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/28#issuecomment-3589215449
More information about the jdk-updates-dev
mailing list