RFR: JDK-8263558: Possible NULL dereference in fast path arena free if ZapResourceArea is true [v5]

Thomas Stuefe stuefe at openjdk.java.net
Tue Mar 16 07:00:26 UTC 2021


> Sonarcloud reports a possible NULL dereference when zapping the to-be-freed area in fast-path arena free. Possible call stack for this to happen starts in Node::destruct(PhaseValues* phase).

Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:

  make Arealloc and Afree behave like realloc and free

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2995/files
  - new: https://git.openjdk.java.net/jdk/pull/2995/files/ceaef852..21a94943

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2995&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2995&range=03-04

  Stats: 7 lines in 2 files changed: 6 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2995.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2995/head:pull/2995

PR: https://git.openjdk.java.net/jdk/pull/2995


More information about the hotspot-runtime-dev mailing list