JDK-8286636 : MacroAssembler::post_call_nop should have InstructionMark
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 19
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-05-12
  • Updated: 2022-05-12
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
InstructionMark checks the instruction boundaries, which is important for relocatable instructions. Everywhere where we do any (?) sort of relocation, we do InstructionMark. I found that newly added MacroAssembler::post_call_nop does not have it, and thus some new code in x86_32 Loom prototype fails with instruction mark / instruction overlapping checks. 
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8678 Date: 2022-05-12 11:32:05 +0000
12-05-2022