RFR: 8315999: Improve Date toString performance [v3]

温绍锦 duke at openjdk.org
Mon Sep 11 16:36:25 UTC 2023


> improve date toString performance, includes:
> 
> java.util.Date.toString
> java.util.Date.toGMTString
> java.time.Instant.toString
> java.time.LocalDate.toString
> java.time.LocalDateTime.toString
> java.time.LocalTime.toString

温绍锦 has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - base PR #15651 API
 - Merge remote-tracking branch 'origin/reduce_duplicate' into optim_for_date_to_string_2
 - fix LocalDate.getChars offset
 - improve date toString performance, includes:
   
   java.util.Date.toString
   java.util.Date.toGMTString
   java.time.Instant.toString
   java.time.LocalDate.toString
   java.time.LocalDateTime.toString
   java.time.LocalTime.toString

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15658/files
  - new: https://git.openjdk.org/jdk/pull/15658/files/24adeb70..ef500237

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15658&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15658&range=01-02

  Stats: 2901 lines in 74 files changed: 1701 ins; 585 del; 615 mod
  Patch: https://git.openjdk.org/jdk/pull/15658.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15658/head:pull/15658

PR: https://git.openjdk.org/jdk/pull/15658


More information about the core-libs-dev mailing list