JDK-8221410 : PPC64: Remove get_stack_bang_address workaround
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 13
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux
  • CPU: ppc
  • Submitted: 2019-03-25
  • Updated: 2021-10-21
  • Resolved: 2021-10-21
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
tbdResolved
Related Reports
Relates :  
Relates :  
Description
Remove get_stack_bang_address because it's a workaround to make JVM signal handler work correctly on Linux with kernel below 2.6.6. 

Such a kernel version (< 2.6.6) is quite old and not well supported anymore by various distros hence we can consider that that kernel bug is gone on more recently JDK version, i.e. version above 13.

Removing get_stack_bang_address simplifies the signal handler code on Linux / PPC64 so we don't have do discern between data and instruction storage interruption.
Comments
Current implementation in 17/18 is fine and works regardless of the old linux kernel bug. There's nothing left to clean up. Old versions are ok, too. Only the comment referring to the linux kernel bug is left. I don't think it disturbs.
21-10-2021

Created accordingly to the following discussion: https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2019-March/033304.html
25-03-2019