Hi Ioi,
A couple of quick minor comments... http://cr.openjdk.java.net/~iklam/jdk12/8209657-shared-FileMapHeader-decl.v02/src/hotspot/share/include/cds.h.html 31 // We should use only standard C types. Do bot use custom types such as bool, intx,A typo: bot => not 54 struct CDSFileMapHeaderBase { 55 unsigned int _magic; // identify file type. 56 int _crc; // header crc checksum. 57 int _version; // must be CURRENT_CDS_ARCHIVE_VERSION 58 struct CDSFileMapRegion _space[NUM_CDS_REGIONS]; 59 };It is better to remove dots at the end of 55 and 56 to follow the local file style. This typedef can be moved from saproc.cpp, */ps_core.c to cds.h: +typedef struct CDSFileMapHeaderBase FileMapHeader; http://cr.openjdk.java.net/~iklam/jdk12/8209657-shared-FileMapHeader-decl.v02/src/jdk.hotspot.agent/macosx/native/libsaproc/ps_core.c.frames.html http://cr.openjdk.java.net/~iklam/jdk12/8209657-shared-FileMapHeader-decl.v02/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c.frames.html 337 print_debug("%s has bad shared archive file magic number 0x%x, expecing 0x%x\n", Original typo can be fixed: expecing => expecting Thanks, Serguei On 8/20/18 13:23, Ioi Lam wrote: Hi, |
- RFR[S] Refactor filemap.hpp to simplify integra... Ioi Lam
- RFR[S] 8209657 Refactor filemap.hpp to sim... Ioi Lam
- Re: RFR[S] 8209657 Refactor filemap.hp... Ioi Lam
- Re: RFR[S] 8209657 Refactor filema... Jini George
- Re: RFR[S] 8209657 Refactor filema... serguei.spit...@oracle.com
- Re: RFR[S] 8209657 Refactor fi... Ioi Lam
- Re: RFR[S] 8209657 Refact... Calvin Cheung
- Re: RFR[S] 8209657 Re... Ioi Lam
- Re: RFR[S] 8209657 Refact... serguei.spit...@oracle.com
- Re: RFR[S] 8209657 Re... Ioi Lam