RFR: 8134540: Much nearly duplicated code for PerfMemory support

Harold Seigel hseigel at openjdk.java.net
Tue Jan 12 15:53:58 UTC 2021


On Mon, 11 Jan 2021 20:32:20 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this change to merge the Unix-like PerfMemory_*.cpp source files into a single PerfMemory_posix.cpp source file.
> 
> The changes were tested on Mach5 tiers 1-5 on Linux, Windows, and Mac OS, and cross-builds were done for the S390, arm32, ppc, and x86 platforms.
> 
> Thanks, Harold

To make this change easier to review, the below webrev shows the differences between the new perfMemory_posix.cpp file and the old perfMemory_aix.cpp, perfMemory_bsd,cpp, and perfMemory_linux.cpp files.

http://cr.openjdk.java.net/~hseigel/perfMemory_changes/

(This webrev is just to show the differences.  It will not be part of the push.)

Thanks, Harold

-------------

PR: https://git.openjdk.java.net/jdk/pull/2037


More information about the hotspot-runtime-dev mailing list