Integrated: 8344148: Add an explicit compiler phase for warning generation
Archie Cobbs
acobbs at openjdk.org
Mon Jan 6 18:39:43 UTC 2025
On Wed, 13 Nov 2024 22:25:36 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
> Please review this patch which does some minor refactoring to the compiler:
> * Create a new `WARN` phase which can be a dedicated home for (new) lint/warning logic
> * Create a new `WarningAnalyzer` singleton whose job is to invoke such lint/warning logic
> * Move `ThisEscapeAnalyzer` out of `Flow` (where it doesn't belong) and into `WarningAnalyzer`
> * Refactor `ThisEscapeAnalyzer` to be a context singleton like all other such classes
>
> See [JDK-8344148](https://bugs.openjdk.org/browse/JDK-8344148) for details.
This pull request has now been integrated.
Changeset: 27646e55
Author: Archie Cobbs <acobbs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/27646e551686ec02740600fc73694fc2fbd00a88
Stats: 220 lines in 19 files changed: 190 ins; 1 del; 29 mod
8344148: Add an explicit compiler phase for warning generation
Reviewed-by: vromero
-------------
PR: https://git.openjdk.org/jdk/pull/22088
More information about the compiler-dev
mailing list