JDK-8329748 : Change default value of AssertWXAtThreadSync to true
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: aarch64
  • Submitted: 2024-04-05
  • Updated: 2024-05-27
  • Resolved: 2024-05-22
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 23
23 b24Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Activating helped find missing MACOS_AARCH64_ONLY(ThreadWXEnable __wx(WXWrite, thread)); like in JDK-8327036. 

AssertWXAtThreadSync is a develop flag and the check is very cheap. Activate AssertWXAtThreadSync by default and make all tests pass. This should help minimize missing WXWrite  

Comments
Changeset: 3d511ff6 Author: Tobias Holenstein <tholenstein@openjdk.org> Date: 2024-05-22 08:50:15 +0000 URL: https://git.openjdk.org/jdk/commit/3d511ff63e59f542ae20c722bfef1c867cd1da0e
22-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19102 Date: 2024-05-06 11:10:08 +0000
06-05-2024

See also comments in JDK-8327990. Not sure why this wasn't enabled then.
08-04-2024