RFR: JDK-8321266: Add diagnostic RSS threshold [v2]
Thomas Stuefe
stuefe at openjdk.org
Wed Dec 6 08:00:34 UTC 2023
On Wed, 6 Dec 2023 05:30:36 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> It is possible on BSD (e.g. using [kvm_getprocs](https://man.freebsd.org/cgi/man.cgi?query=kvm_getprocs&sektion=3&n=1) ) - however, I am no BSD expert and have no system to build BSD on.
>>
>> Note that in both cases - AIX and the BSDs - I am not better nor worse than other code that reads RSS, e.g. jfr_report_memory_info(). Which, btw, is a code unification possibility I plan on following up on in a separate RFE (reusing get_rss for use cases such as jfr_report_memory_info).
>
> I don't like seeing disparity in platform support like this but understand we can't always supply the details for every port on the initial integration. I would like to see RFE's filed to have the missing details provided on those platforms so that the respective port maintainers know there is something missing. I suspect that is not the case with `jfr_report_memory_info`.
JBS is down for maintenance; will open bugs when its back up.
Platform support is always an issue; BSD support, in particular, seems spotty. I am not even sure BSD is maintained by anyone in the head release.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16938#discussion_r1416852897
More information about the hotspot-dev
mailing list