RFR: 8338937: Optimize the string concatenation of ClassDesc

Shaojin Wen duke at openjdk.org
Sun Aug 25 21:44:02 UTC 2024


On Sun, 25 Aug 2024 21:29:17 GMT, ExE Boss <duke at openjdk.org> wrote:

>> In this case, there are too many locations under the java.lang package to change, and a new PR may be more appropriate.
>
> Well, `Class​::descriptorString()` is referenced from the `ReferenceClassDescImpl` creation code in `ConstantUtils`:
> https://github.com/openjdk/jdk/blob/5671f836039ef1683e3e9ce5b7cf0fa2f1860e2d/src/java.base/share/classes/jdk/internal/constant/ConstantUtils.java#L89-L91

I plan to change all of these in another PR https://github.com/wenshao/jdk/commit/b500348cde84e10dc968c7503b8c1dac9131f146

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20705#discussion_r1730435430


More information about the core-libs-dev mailing list