JDK-8274550 : c2i entry barriers read int as long on PPC
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc
  • Submitted: 2021-09-30
  • Updated: 2021-10-18
  • Resolved: 2021-10-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 18
17.0.2Fixed 18 b18Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
I suspect that JDK-8260372 suffers from the same problem like JDK-8274501 fixes for AArch64.

  // Fast path: If class loader is strong, the holder cannot be unloaded.
  __ ld(tmp2, in_bytes(ClassLoaderData::keep_alive_offset()), tmp1_class_loader_data);

_ld should be _lwz?
Comments
Fix Request (17u): Trivial fix in PPC64 platform code. Should get backported before backporting new GCs (ZGC and ShenandoahGC) on PPC64. Applies cleanly.
15-10-2021

Changeset: 5e4b514e Author: Martin Doerr <mdoerr@openjdk.org> Date: 2021-10-01 08:20:51 +0000 URL: https://git.openjdk.java.net/jdk/commit/5e4b514e6e7e1b9f51fac1983b6c12a988f7f5a8
01-10-2021

Thanks for filing this issue. P4 is fine. It's only used by experimental GC implementations which are not yet contributed.
30-09-2021