[jdk25u] RFR: 8361363: ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
Vishal Chand
duke at openjdk.org
Fri Nov 28 01:27:55 UTC 2025
On Fri, 21 Nov 2025 20:39:27 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.
Closing in favour of https://github.com/openjdk/jdk25u-dev/pull/28
-------------
PR Comment: https://git.openjdk.org/jdk25u/pull/384#issuecomment-3587644189
More information about the jdk-updates-dev
mailing list