JDK-8201789 : SA: Consolidate the platform specific libsaproc files
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc-agent
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2018-04-18
  • Updated: 2021-08-05
  • Resolved: 2021-08-05
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.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
There is code duplication across the various libsaproc files (within different platform specific directories). These files can be consolidated. 

e.g,: The files open/src/jdk.hotspot.agent/macosx/native/libsaproc/ps_core.c, open/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c and open/src/jdk.hotspot.agent/solaris//native/libsaproc/saproc.cpp 
Comments
Most of the ps_core.c duplication was taken care of by JDK-8231986. I don't think there is need to keep this RFE open still.
05-08-2021

I filed JDK-8209657 for moving FileMapHeader to a common file.
17-08-2018

Additionally: FileMapHeader should be moved to a common file that can be included in all the ps_core files, as well as the VM's filemap.hpp
18-04-2018