On Tue, 3 Sep 2024 16:13:39 GMT, David M. Lloyd <d...@openjdk.org> wrote:

> Please review this change, which reduces the number of allocations in 
> `StackMapDecoder::writeFrames` by using a sorted array instead of a 
> `TreeMap<Integer, ...>` to sort and uniquify entries before writing.
> 
> Tested using `StackMapsTest`.

I think you can add that to your description; it's clearly an oversight from 
the previous implementation.

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

PR Comment: https://git.openjdk.org/jdk/pull/20841#issuecomment-2327053980

Reply via email to