On Thu, 27 Jun 2024 05:08:06 GMT, Justin Lu <j...@openjdk.org> wrote:
>> lingjun-cg has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8333396: Performance regression of DecimalFormat.format > > src/java.base/share/classes/java/text/StringBufFactory.java line 45: > >> 43: } >> 44: >> 45: private static class StringBufferImpl implements Format.StringBuf { > > The implementations may be more concise as a `record class` I know little about `record class`, it seems `record class` is help to model data aggregation, but here it act as a proxy class. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19513#discussion_r1656957129