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

Ashutosh Mehra duke at openjdk.org
Thu Jul 27 13:32:12 UTC 2023


> 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:

  Add sanity test for -XX:+PrintIdealNodeCount
  
  Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15002/files
  - new: https://git.openjdk.org/jdk/pull/15002/files/0a78b88c..9d4930be

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15002&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15002&range=00-01

  Stats: 37 lines in 1 file changed: 37 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/15002.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15002/head:pull/15002

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


More information about the hotspot-compiler-dev mailing list