JDK-8334247 : [PPC64] Consider trap based nmethod entry barriers
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • CPU: ppc
  • Submitted: 2024-06-13
  • Updated: 2025-06-25
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
Blocks :  
Relates :  
Description
BarrierSetAssembler::nmethod_entry_barrier currently uses a comparison and an explicit call to StubRoutines::method_entry_barrier(). We could replace it by a conditional trap instruction and dispatch to the stub in the signal handler. The old code should still be usable. The new code could be made available by a new diagnostic flag similar to e.g. TrapBasedICMissChecks.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24135 Date: 2025-03-20 15:41:56 +0000
20-03-2025