JDK-8347563 : C2: clean up ModRefBarrierSetC2
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 25
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-01-13
  • Updated: 2025-01-20
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Remove ModRefBarrierSetC2::pre_barrier(), whose only implementation after JDK-8334060 is empty [1]; and remove the following arguments of ModRefBarrierSetC2::post_barrier(), which are not used anymore: Node* ctl, Node* store, uint adr_idx, and BasicType bt.

[1] https://github.com/openjdk/jdk/blob/cc198972022c94199d698461e2ac42afc0058fd7/src/hotspot/share/gc/shared/c2/modRefBarrierSetC2.hpp#L34-L43

Thanks to [~thartmann] for reporting.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23112 Date: 2025-01-14 17:47:59 +0000
20-01-2025