RFR: 8337037: compiler internal options are not printing the stacktrace after a compiler crash [v5]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Jul 25 16:26:33 UTC 2024


On Thu, 25 Jul 2024 16:10:49 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> There are two internal javac options: `doe` and `dev` that we use to indicate the compiler to printout the stacktrace of any error issued and or exception thrown. There are a number of internal exceptions for which the stacktrace was not being produced due to performance issues. This patch is restoring the previous compiler behavior, printing out stacktraces if the internal options are passed, while keeping the most performant approach when none of the mentioned internal options is passed,
>> 
>> TIA
>
> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
> 
>   removing unused import

Marked as reviewed by mcimadamore (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/20314#pullrequestreview-2199807865


More information about the compiler-dev mailing list