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.