These two files have lots of duplication:
http://hg.openjdk.java.net/jdk/jdk/file/5b5de2618756/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
http://hg.openjdk.java.net/jdk/jdk/file/5b5de2618756/src/jdk.hotspot.agent/macosx/native/libsaproc/ps_core.c
Specifically, the code that deals with CDS is almost identical in these two files. The upcoming changes inJDK-8231610 (Relocate the CDS archive if it cannot be mapped to the requested address) would require ps_core.c to be modified, and I don't want to make the same changes twice.
I this RFE, I plan to merge the parts in ps_core.c that's related to CDS. I'll leave the rest in place for now.
http://hg.openjdk.java.net/jdk/jdk/file/5b5de2618756/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
http://hg.openjdk.java.net/jdk/jdk/file/5b5de2618756/src/jdk.hotspot.agent/macosx/native/libsaproc/ps_core.c
Specifically, the code that deals with CDS is almost identical in these two files. The upcoming changes in
I this RFE, I plan to merge the parts in ps_core.c that's related to CDS. I'll leave the rest in place for now.
- duplicates
-
JDK-8201789 SA: Consolidate the platform specific libsaproc files
-
- Closed
-
- relates to
-
JDK-8231610 Relocate the CDS archive if it cannot be mapped to the requested address
-
- Resolved
-
-
JDK-8201789 SA: Consolidate the platform specific libsaproc files
-
- Closed
-