RFR [XS]: 8235671: enhance print_rlimit_info in os_posix

Doerr, Martin martin.doerr at sap.com
Mon Dec 16 10:09:23 UTC 2019


Hi Matthias,

looks good to me.

Best regards,
Martin


> -----Original Message-----
> From: hotspot-dev <hotspot-dev-bounces at openjdk.java.net> On Behalf Of
> Baesken, Matthias
> Sent: Mittwoch, 11. Dezember 2019 09:06
> To: 'hotspot-dev at openjdk.java.net' <hotspot-dev at openjdk.java.net>
> Subject: RFR [XS]: 8235671: enhance print_rlimit_info in os_posix
> 
> Hello, please review this small change .
> 
> It adds  2  rlimit infos  to  os::Posix::print_rlimit_info .
> 
> 
> One is cross posix :  RLIMIT_CPU
> 
> http://man7.org/linux/man-pages/man2/getrlimit.2.html
> 
>        RLIMIT_CPU
>               This is a limit, in seconds, on the amount of CPU time that
>               the process can consume.  When the process reaches the soft
>               limit, it is sent a SIGXCPU signal.   ...
> 
> 
> One is AIX-only  : RLIMIT_THREADS
> 
> Manpage :
> 
>               RLIMIT_THREADS
>                    The maximum number of threads each process can create. This limit
> is enforced by the kernel and
>                    the pthread library.
> 
> 
> 
>   Bug/web :
> 
> https://bugs.openjdk.java.net/browse/JDK-8235671
> 
> http://cr.openjdk.java.net/~mbaesken/webrevs/8235671.0/
> 
> 
> Thanks, Matthias


More information about the hotspot-dev mailing list