JDK-8255734 : VM should ignore SIGXFSZ on ppc64, s390 too
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8u251,11,15,16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,aix
  • CPU: ppc,s390x
  • Submitted: 2020-11-02
  • Updated: 2021-04-27
  • Resolved: 2020-11-02
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 11 JDK 16 Other
11.0.11Fixed 16 b23Fixed openjdk8u302Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
We ignore SIGPIPE and SIGXFSZ since their default action is to terminate the VM. 

But on ppc64 (both Linux and AIX) and s390 handling of SIGXFSZ was missing so far, exposing us to JDK-6499219.
Comments
[~shade] Unfortunately [~stuefe] isn't an jdk8u updates project Reviewer[1]. I've reviewed it now so as to cover that base too: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-April/013741.html Perhaps consider proposing [~stuefe] for 8u Reviewer? I believe we ran into this problem before. [1] https://openjdk.java.net/census#stuefe
27-04-2021

Fix Request (8u) This fixes the corner case in PPC support. Patch does not apply cleanly to 8u and requires minor adaptations. Passes the reproducer from this issue now. 8u RFR (acked by tstuefe): https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-April/013670.html
21-04-2021

Fix Request: Important to fix because: exceeding file io limits may kill the VM on ppc and s390 Nature of fix: handle (ignore) SIGXFSZ like other platforms Low risk because: Patch is trivial. Applies cleanly: No, since "8252324: Signal related code should be shared among POSIX platforms" shuffled a lot of coding around. RFR thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-November/004287.html Testing done: nigthlies, manual testing
01-12-2020

Changeset: 54c88132 Author: Thomas Stuefe <stuefe@openjdk.org> Date: 2020-11-02 12:45:05 +0000 URL: https://github.com/openjdk/jdk/commit/54c88132
02-11-2020