RFR: 8274899: Replace usages of Collections.sort with List.sort call in jdk.hotspot.agent
Serguei Spitsyn
sspitsyn at openjdk.java.net
Thu Oct 7 15:29:08 UTC 2021
On Sat, 25 Sep 2021 11:15:35 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:
> Collections.sort is just a wrapper, so it is better to use an instance method directly.
Andrey,
Nice simplification. It looks good to me.
Thanks,
Serguei
-------------
Marked as reviewed by sspitsyn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5697
More information about the serviceability-dev
mailing list