On Mon, 31 Aug 2026 09:51:02 GMT, Albert Mingkun Yang <[email protected]> wrote:

> However, as Thomas pointed out, heap dump can probably report them as 
> filler-array instead of int-array, just like jmap.

This is discussed this on the mailing list. Do you mean to represent the filler 
array as `FillerElement[]`, with 1 element per underlying int, and that element 
is null? Object array elements are not always 4 bytes, so that adds a bit of 
extra messiness - do we factor that in during the dump (for 8-byte oops, emit 
half the elements so the size looks right?) or leave it to the analyzer (filler 
array refs are always int-sized)?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/32542#issuecomment-5492535797

Reply via email to