JDK-8209691 : Allow MemBar on single memory slice
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-20
  • Updated: 2019-09-04
  • Resolved: 2018-08-29
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 11 JDK 12
11.0.6-oracleFixed 12 b09Fixed
Description
MemBarNode::_adr_type is lost after matching and the backend assumes a MemBar affects all memory slices.
Comments
Fix Request (11u) Backporting this fix keeps codebases in sync (I see 11.0.6-oracle) and eliminates parts of upstream exposure in some downstream repos. Patch applies cleanly to 11u, passes tier1, tier2 tests.
03-09-2019