Integrated: 8312596: Null pointer access in Compile::TracePhase::~TracePhase after JDK-8311976

Ashutosh Mehra duke at openjdk.org
Tue Aug 1 19:30:04 UTC 2023


On Mon, 24 Jul 2023 18:16:19 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:

> Please review this PR to fix a potential null pointer access in using `_compile`.
> Updated the code to unconditionally initialize `_compile` and added an assert (similar to C1's `PhaseTraceTime` constructor) for it to be non-null.

This pull request has now been integrated.

Changeset: 7ba8c69a
Author:    Ashutosh Mehra <asmehra at redhat.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7ba8c69a2cb094f124234fef5a0f7ac98993c1a4
Stats:     44 lines in 2 files changed: 41 ins; 1 del; 2 mod

8312596: Null pointer access in Compile::TracePhase::~TracePhase after JDK-8311976

Reviewed-by: chagedorn, dlong, shade

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

PR: https://git.openjdk.org/jdk/pull/15002


More information about the hotspot-compiler-dev mailing list