RFR: 8327247: C2 uses up to 2GB of RAM to compile complex string concat in extreme cases [v2]
Claes Redestad
redestad at openjdk.org
Fri Apr 26 08:39:32 UTC 2024
On Fri, 26 Apr 2024 02:36:22 GMT, Chen Liang <liach at openjdk.org> wrote:
> Also a side note for backport: ClassFileDumper exists only since JDK 21, so for earlier backports you need to use an alternative dumping method or remove dumping ability.
Yes, original code used ProxyClassDumper, which was renamed/reworked in 21 by [JDK-8304846](https://bugs.openjdk.org/browse/JDK-8304846). I think we've gone as far as we can code-wise in ensuring this is cleanly backportable to at least 21. I'll add a comment about ProxyClassDumper.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18953#issuecomment-2078910803
More information about the core-libs-dev
mailing list