JDK-8287433 : [PPC64] g1_write_barrier_pre needs extension for Loom
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc
  • Submitted: 2022-05-27
  • Updated: 2022-05-30
  • Resolved: 2022-05-30
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 19
19 masterFixed
Related Reports
Relates :  
Description
Loom requires the c2i_entry_barrier which is currently not supported with G1 on PPC64. (nmethod entry barriers were not needed for G1 before.)

We run into the following assertion when trying to start the VM with Loom enabled:
assert(preservation_level <= MacroAssembler::PRESERVATION_FRAME_LR) failed: g1_write_barrier_pre doesn't support preservation levels higher than PRESERVATION_FRAME_LR

The following frames are on stack:
G1BarrierSetAssembler::g1_write_barrier_pre
G1BarrierSetAssembler::load_at
MacroAssembler::resolve_weak_handle
BarrierSetAssembler::c2i_entry_barrier

Comments
Changeset: eb8d067b Author: Martin Doerr <mdoerr@openjdk.org> Date: 2022-05-30 08:57:58 +0000 URL: https://git.openjdk.java.net/jdk/commit/eb8d067b56287a201ca102299e6b756417e5cf1b
30-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8918 Date: 2022-05-27 11:10:28 +0000
27-05-2022