RFR: 8328934: Assert that ABS input and output are legal

Aleksey Shipilev shade at openjdk.org
Fri Apr 12 08:37:16 UTC 2024


This should protect us from future accidents around `abs` misuse. We have fixed a few separately. I plan to use this as the litmus test in update releases to detect missing backports for actual fixes. I am running more tests to see if we have any other sightings in current codebase, but this can be reviewed for sanity meanwhile.

Additional testing:
 - [x] MacOS AArch64 server fastdebug build passes
 - [ ] Linux x86_64 server fastdebug, `all`
 - [ ] Linux AArch64 server fastdebug, `all`

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/18751/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18751&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328934
  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18751.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18751/head:pull/18751

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


More information about the hotspot-dev mailing list