[lworld] RFR: 8377466: [lworld] Redundant feature between *OopDesc casts methods and oopCast.hpp functions

Frederic Parain fparain at openjdk.org
Wed Feb 18 15:55:19 UTC 2026


This patch removes the cast() methods from *ArrayOopDesc classes, and replaces them with oop_cast<>() methods where a cast is needed.

Testing in progress with Mach5 Tier1 

Fred

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

Commit messages:
 - Remove ArrayOopDesc cast methods

Changes: https://git.openjdk.org/valhalla/pull/2128/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2128&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8377466
  Stats: 87 lines in 32 files changed: 25 ins; 21 del; 41 mod
  Patch: https://git.openjdk.org/valhalla/pull/2128.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2128/head:pull/2128

PR: https://git.openjdk.org/valhalla/pull/2128


More information about the valhalla-dev mailing list