[jdk17u-dev] RFR: 8283326: Implement SafeFetch statically [v3]

Sergey Nazarkin snazarki at openjdk.org
Wed Jul 12 19:54:04 UTC 2023


> Hi! 
> I'd like to backport this changeset to prevent a crash when AsyncProfiler is used on Mac M1. 
> 
> The backport is not clean:
> 1. RISCV is not part of jdk17
> 2. mallocTracker.cpp is not updated since 8281023 was not backported to jdk17
> 3. vmError_posix.cpp requires manual update due to  8289350 is missed at jdk19+
> 4. Need to add globals.hpp to fix builds without precompiled headers
> 
> There is follow up for this case: 
> 1. 8284997: arm32 build crashes since JDK-8283326
> 2. 8288719: [arm32] SafeFetch32 thumb interleaving causes random crashes

Sergey Nazarkin has updated the pull request incrementally with one additional commit since the last revision:

  Missed riscv assembler

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/1557/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/1557/files/4fffd386..dd0d3f79

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1557&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1557&range=01-02

  Stats: 57 lines in 1 file changed: 57 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1557.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1557/head:pull/1557

PR: https://git.openjdk.org/jdk17u-dev/pull/1557


More information about the jdk-updates-dev mailing list