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

Man Cao manc at openjdk.java.net
Wed Nov 3 06:34:40 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:

  Fix build errors on non-x86 or non-Linux environments

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

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

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

  Stats: 15 lines in 10 files changed: 0 ins; 1 del; 14 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