RFR: 8339492: StackMapDecoder::writeFrames makes lots of allocations [v2]
Julian Waters
jwaters at openjdk.org
Wed Sep 4 15:48:21 UTC 2024
On Tue, 3 Sep 2024 17:33:37 GMT, David M. Lloyd <duke at 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. It also adds a validation missed by the original implementation.
>
> David M. Lloyd has updated the pull request incrementally with one additional commit since the last revision:
>
> Review feedback: reject duplicate stack map entries
Marked as reviewed by jwaters (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20841#pullrequestreview-2280616851
More information about the core-libs-dev
mailing list