RFR: 8327247: C2 uses up to 2GB of RAM to compile complex string concat in extreme cases

Claes Redestad redestad at openjdk.org
Fri Apr 12 14:39:41 UTC 2024


On Fri, 12 Apr 2024 13:44:23 GMT, Rémi Forax <forax at openjdk.org> wrote:

> One class per arity + value classes can be a good combo ?

Not sure value classes matter here? We would need one static instance per call site holding the constants. Trickier for performance is the potential for profile pollution between such classes.

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

PR Comment: https://git.openjdk.org/jdk/pull/18690#issuecomment-2051885862


More information about the core-libs-dev mailing list