RFR: 8312596: Null pointer access in Compile::TracePhase::~TracePhase after JDK-8311976 [v4]

Aleksey Shipilev shade at openjdk.org
Fri Jul 28 15:07:52 UTC 2023


On Fri, 28 Jul 2023 15:00:17 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.
>
> Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test config to use vm.compiler2.enabled
>   
>   Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

Marked as reviewed by shade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/15002#pullrequestreview-1552322864


More information about the hotspot-compiler-dev mailing list