> The flattened arrays might have different layout an thus different size. 
> 
> So it makes sense to update GC.class_histogram report to reflect this.
> 
> The layout is not printed for plain reference-based arrays. 
> 
> Here is the example of new output:
> 
>   23:             1           8208  
> [LClassHistogramFlattenedArrayTest$TestClassNA; [flat, nullable, atomic]
>   40:             1           4112  
> [LClassHistogramFlattenedArrayTest$TestClassNRA; [flat, null-restricted, 
> atomic]
>   41:             1           4112  
> [LClassHistogramFlattenedArrayTest$TestClassNRNA; [flat, null-restricted, 
> non-atomic]
>   
> For plain reference arrays it should be the same, like:
> 42:             1           4112  
> [LClassHistogramFlattenedArrayTest$TestClass; 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Leonid Mesnik has updated the pull request incrementally with one additional 
commit since the last revision:

  removed unneeded annotations

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/32845/files
  - new: https://git.openjdk.org/jdk/pull/32845/files/798eda6b..68fb3c24

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32845&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32845&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/32845.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32845/head:pull/32845

PR: https://git.openjdk.org/jdk/pull/32845

Reply via email to