JDK-8273378 : Shenandoah: Remove the remaining uses of os::is_MP
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8-shenandoah,11.0.9,17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-06
  • Updated: 2021-10-01
  • Resolved: 2021-09-06
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 b14Fixed
Related Reports
Relates :  
Description
JDK-8188764 removed many uses of `os::is_MP`, effectively defaulting it to `true`, but some Shenandoah code still has it. This is a simple omission. All current uses on x86 already imply lock prefix, so this is a cleanup, and not a functional change.
Comments
Fix Request (17u) Clean backport to keep codebases in sync and avoid surprises when os::is_MP is misbehaving.
30-09-2021

Changeset: fc546d6d Author: Aleksey Shipilev <shade@openjdk.org> Date: 2021-09-06 16:00:12 +0000 URL: https://git.openjdk.java.net/jdk/commit/fc546d6de9a3ed33cf4b04e24e62714332b069cb
06-09-2021