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
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
- duplicates
- 
                    JDK-8231986 Consolidate parts of the Linux and MacOSX versions of ps_core.c -           
- Resolved
 
-         
- relates to
- 
                    JDK-8174994 SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS -           
- Resolved
 
-         
- 
                    JDK-8209657 Refactor filemap.hpp to simplify integration with Serviceability Agent -           
- Resolved
 
-         
- 
                    JDK-8231986 Consolidate parts of the Linux and MacOSX versions of ps_core.c -           
- Resolved
 
-         
 P5
  P5