[jdk17] RFR: 8272472: StackGuardPages test doesn't build with glibc 2.34 [v2]

David Holmes dholmes at openjdk.java.net
Mon Aug 16 01:43:45 UTC 2021


> Please review this simple test fix to address an issue that will prevent the JDK 17 test sources from building on more recent Linux distributions with Glibc 2.34. When building under _GNU_SOURCE the value of SIGSTKSZ is no longer a constant and so cannot be used in an array declaration. The simple fix is to malloc the array instead.
> 
> This is a PR against 17 pending a decision as to whether this needs to, and can be, addressed in 17. If not then this PR will be withdrawn and resubmitted against 18 with a backport to 17u.
> 
> Testing: local & mach5 tiers 1-3
> 
> Thanks,
> David

David Holmes has updated the pull request incrementally with one additional commit since the last revision:

  Review feedback - minor updates

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk17/pull/304/files
  - new: https://git.openjdk.java.net/jdk17/pull/304/files/e17661af..376e2a85

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk17&pr=304&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk17&pr=304&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/304.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/304/head:pull/304

PR: https://git.openjdk.java.net/jdk17/pull/304


More information about the hotspot-runtime-dev mailing list