RFR: 8276453: Undefined behavior in C1 LIR_OprDesc causes SEGV in fastdebug build [v3]

Man Cao manc at openjdk.java.net
Wed Nov 3 01:51:38 UTC 2021


> Hi all,
> 
> Could anyone provide some feedback on this bug fix and refactoring change? See https://bugs.openjdk.java.net/browse/JDK-8276453 for more details.
> If the direction of this change looks good, we can proceed removing the "UGLY HACK" in c1_LIR.hpp and refactor occurrences of "opr->fn()" to "opr.fn()".

Man Cao has updated the pull request incrementally with one additional commit since the last revision:

  Remove constructor that takes int to fix build error

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6221/files
  - new: https://git.openjdk.java.net/jdk/pull/6221/files/b0ef5024..71c8528e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6221&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6221&range=01-02

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

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


More information about the hotspot-compiler-dev mailing list