JDK-8260533 : Umbrella: Factor out common POSIX code
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Closed
  • Resolution: Other
  • Submitted: 2021-01-27
  • Updated: 2021-02-02
  • Resolved: 2021-02-02
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
There appears to be significant amount of common POSIX code, which could be factored out and shared among platforms (Linux, BSD, AIX)

JDK-8252324 previously addressed common signal related POSIX code and factored it out nicely.

For JDK-8247846 I'm experimenting with "create_sharedmem_resources()" API in perfMemory_bsd.cpp which looks identical to its Linux/AIX counterparts.

It seems that any POSIX related files in:

hotspot/os/aix/
hotspot/os/linux/
hotspot/os/bsd/

should be assessed as a potential candidate for factoring common code, hence this umbrella bug.

Comments
There are existing umbrella enhancements, like https://bugs.openjdk.java.net/browse/JDK-8253795 (which is tracking JEP admittedly)
02-02-2021

RT Triage team: we do not track work items with an Umbrella bug. Either track these issues with a common label (e.g. "os"), or link them.
02-02-2021