RFR: 8272992: Replace usages of Collections.sort with List.sort call in jdk.* modules [v3]

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Sat Sep 25 11:15:20 UTC 2021


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

Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:

   8272992: Replace usages of Collections.sort with List.sort call in jdk.* modules
   extracted jdk.jfr changes into separate PR. Rollback them here.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5230/files
  - new: https://git.openjdk.java.net/jdk/pull/5230/files/fcf53eda..2ce0f043

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5230&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5230&range=01-02

  Stats: 30 lines in 10 files changed: 10 ins; 1 del; 19 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5230.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5230/head:pull/5230

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


More information about the serviceability-dev mailing list