RFR: 8325095: C2: bailout message broken: ResourceArea allocated string used after free [v2]
Vladimir Kozlov
kvn at openjdk.org
Sat Feb 17 01:39:57 UTC 2024
On Fri, 16 Feb 2024 12:27:45 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Reporting all failures might make sense for logging, but we can only report one reason, unless we want to do something like chained exceptions, which I don't think we need. The different layers is already looking like a custom exception handling mechanism, unfortunately.
>
> Piling on... I opt for keeping this code simple. A list of subsequent failure states could easily be part of logging.
Okay, I am voting for UL to print all failures we hit during compilation and keep reporting only one reason at the end.
log_error(compilation) (failiure_reason);
Or `log_warning()`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17710#discussion_r1493120787
More information about the hotspot-dev
mailing list