RFR: 8338937: Optimize the string concatenation of ClassDesc [v2]

Shaojin Wen duke at openjdk.org
Tue Aug 27 11:52:39 UTC 2024


On Sun, 25 Aug 2024 21:41:11 GMT, Shaojin Wen <duke at openjdk.org> wrote:

>> 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

I've accepted your suggestion and don't want to change too much at once.

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

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


More information about the core-libs-dev mailing list