-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b09
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8235509 | 11.0.7 | Jiangli Zhou | P3 | Resolved | Fixed | b01 |
The FileMapHeader type declaration is duplicated between HotSpot (in filemap.hpp) and Serviceability Agent (in the following 3 files)
http://hg.openjdk.java.net/jdk/jdk/file/d9f6e3ee7fcb/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c#l224
http://hg.openjdk.java.net/jdk/jdk/file/d9f6e3ee7fcb/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp#l508
http://hg.openjdk.java.net/jdk/jdk/file/d9f6e3ee7fcb/src/jdk.hotspot.agent/macosx/native/libsaproc/ps_core.c#l226
SA uses only a small portion of FileMapHeader. We should move that into a common header file to avoid the code duplication.
http://hg.openjdk.java.net/jdk/jdk/file/d9f6e3ee7fcb/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c#l224
http://hg.openjdk.java.net/jdk/jdk/file/d9f6e3ee7fcb/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp#l508
http://hg.openjdk.java.net/jdk/jdk/file/d9f6e3ee7fcb/src/jdk.hotspot.agent/macosx/native/libsaproc/ps_core.c#l226
SA uses only a small portion of FileMapHeader. We should move that into a common header file to avoid the code duplication.
- backported by
-
JDK-8235509 Refactor filemap.hpp to simplify integration with Serviceability Agent
- Resolved
- relates to
-
JDK-8209826 Undefined reference to os::write after JDK-8209657 (filemap.hpp cleanup)
- Resolved
-
JDK-8201789 SA: Consolidate the platform specific libsaproc files
- Closed