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

Thomas Stuefe stuefe at openjdk.java.net
Fri Mar 19 16:50:52 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:

  Fix minor leak on Arealloc if new_size is 0

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

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

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

  Stats: 4 lines in 1 file changed: 3 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