On Fri, 15 May 2026 21:18:33 GMT, Matias Saavedra Silva <[email protected]> wrote:
> This patch adds detailed printing for flat arrays in the AOTMapLogger and > allows proper printing of embedded oops. Verified with tier 1-5 tests. > > New output looks like the following: > > 0x00000000fff8d780: @@ Object (0xfff8d780) [Ljava.lang.Integer; length: 3 > - klass: 'java/lang/Integer'[] 0x0000000800160c00 > - Flat inline type element 'java/lang/Integer': - Index 0 offset 16: > - private final value 'value' (fields 0x00000000) 'I' @8 43690 > (0x0000aaaa) > - [null_marker] @12 Field marked as non-null > - Flat inline type element 'java/lang/Integer': - Index 1 offset 24: > - private final value 'value' (fields 0x00000000) 'I' @8 48059 > (0x0000bbbb) > - [null_marker] @12 Field marked as non-null > - Flat inline type element 'java/lang/Integer': null > - [null_marker] @13 Field marked as null > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: c93431c2 Author: Matias Saavedra Silva <[email protected]> URL: https://git.openjdk.org/valhalla/commit/c93431c283ae05b9995d3312e7beb739746a217d Stats: 423 lines in 7 files changed: 389 ins; 4 del; 30 mod 8383389: [lworld] Augment AOTMapLogger::print_oop_details to support flat arrays with oops Reviewed-by: iklam, fparain ------------- PR: https://git.openjdk.org/valhalla/pull/2444
