JDK-8223699 : cleanup perfMemory_aix.cpp O_NOFOLLOW coding on aix
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: aix
  • CPU: ppc
  • Submitted: 2019-05-10
  • Updated: 2020-02-07
  • Resolved: 2020-01-30
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 15
15 b09Fixed
Related Reports
Relates :  
Description
In perfMemory_aix.cpp we still have O_NOFOLLOW related fallback coding for  AIX version < 7.X. 
This is no longer needed, because we do not support any more AIX versions < 7.X  in coming jdk13,  so cleanup is possible.

Comments
Changeset: cd01fa37 Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2020-01-28 08:53:30 +0000 URL: https://git.openjdk.java.net/panama-foreign/commit/cd01fa37
07-02-2020

Maybe the container support should be put in it's own file, the Linux and BSD support is probably the same.
03-02-2020

> Can you also do JDK-8134540? I started it a long time ago but I can't really test on aix. There were only minor differences. I looked into JDK-8134540 . AIX might have only minor diffs, but Linux has quite a few (I think because of container support). So it is maybe better to leave the files where they are.
03-02-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/99f7916541e0 User: mbaesken Date: 2020-01-30 08:17:22 +0000
30-01-2020

hi Coleen, I'll post a patch for this bug soon. However on some AIX machines one has to consider http://www-01.ibm.com/support/docview.wss?uid=isg1IV63861 too, O_NOFOLLOW was broken there .
23-01-2020

[~mbaesken] are you still working on this? Can you also do JDK-8134540? I started it a long time ago but I can't really test on aix. There were only minor differences.
22-01-2020