RFR: 8274899: Replace usages of Collections.sort with List.sort call in jdk.hotspot.agent

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Thu Oct 7 11:47:20 UTC 2021


Collections.sort is just a wrapper, so it is better to use an instance method directly.

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

Commit messages:
 - 8272992: Replace usages of Collections.sort with List.sort call in jdk.hotspot.agent

Changes: https://git.openjdk.java.net/jdk/pull/5697/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5697&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274899
  Stats: 26 lines in 7 files changed: 0 ins; 13 del; 13 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5697.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5697/head:pull/5697

PR: https://git.openjdk.java.net/jdk/pull/5697



More information about the hotspot-gc-dev mailing list