RFR: JDK-8323190: Segfault during deoptimization of C2-compiled code [v3]

Cesar Soares Lucas cslucas at openjdk.org
Wed Jan 10 18:20:42 UTC 2024


> Currently, if `ReduceAllocationMerges` reduces an allocation merge that is used as a monitor C2 will SIGFAULT in `Process_OopMap_Node` because it's missing code to handle that case.  This patch fixes C2 to properly handle reduced allocation merges that are used as monitors. 
> 
> Tested with Linux x86_64 hotspot_all.

Cesar Soares Lucas has updated the pull request incrementally with one additional commit since the last revision:

  Convert NULL to nullptr. Remove type cast.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17333/files
  - new: https://git.openjdk.org/jdk/pull/17333/files/5e2f0089..8c21a4b5

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

  Stats: 7 lines in 2 files changed: 0 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/17333.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17333/head:pull/17333

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


More information about the hotspot-compiler-dev mailing list