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.
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.
- is blocked by
-
JDK-8260534 Factor out common POSIX code: perfMemory
-
- Closed
-
- relates to
-
JDK-8134540 Much nearly duplicated code for PerfMemory support
-
- Resolved
-
-
JDK-8260262 Use common code in function unmap_shared() in perfMemory_posix.cpp
-
- Resolved
-
-
JDK-8260264 Move common os_<unix> inline methods to a common posix source file
-
- Resolved
-
-
JDK-8252324 Signal related code should be shared among POSIX platforms
-
- Resolved
-