RFR: 8334560: [PPC64]: postalloc_expand_java_dynamic_call_sched does not copy all fields

Richard Reingruber rrich at openjdk.org
Fri Jun 21 09:21:16 UTC 2024


On PPC64 we use a special feature where C2 Mach nodes get expanded after register allocation.
This pr adds copying the field `MachSafePointNode::_has_ea_local_in_scope` when expanding `MachCallDynamicJavaNode`s in `postalloc_expand_java_dynamic_call_sched`.

It adds also a test case that fails without the fix.

The fix passed our CI testing: JTReg tests: tier1-4 of hotspot and jdk. All of Langtools and jaxp. Renaissance Suite and SAP specific tests.
Testing was done with fastdebug and release builds on the main platforms and also on Linux/PPC64le and AIX.

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

Commit messages:
 - Fix
 - Test case

Changes: https://git.openjdk.org/jdk/pull/19789/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19789&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334560
  Stats: 92 lines in 2 files changed: 92 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19789.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19789/head:pull/19789

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


More information about the hotspot-compiler-dev mailing list