Date: Tue, 1 Jan 2008 16:49:11 +0000 (UTC) From: Greg Lewis <glewis@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/java/jdk15 Makefile ports/java/jdk15/files patch-j2se::management::UnixOperatingSystem_md.c Message-ID: <200801011649.m01GnBTS085700@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glewis 2008-01-01 16:49:11 UTC
FreeBSD ports repository
Modified files:
java/jdk15 Makefile
Added files:
java/jdk15/files
patch-j2se::management::UnixOperatingSystem_md.c
Log:
. Implement or fix more of the OS specific statistics gathering functions.
This allows jconsole to show valid statistics for the following
OperatingSystem MBean statistics (some of these statistics are also shown
in the Summary and VM tab of jconsole):
TotalSwapSpaceSize, FreeSwapSpaceSize, FreePhysicalMemorySize and
TotalPhysicalMemorySize.
Note that MaxFileDescriptorCount has always been correct as far as I
can tell.
. Also, implement the function for ProcessCpuTime using a non-deprecated
function (getrusage(2) rather than times(3)).
These changes are restricted to 6.x and higher and have only been tested
on 6.x (where they appear to work correctly). The changes are not valid
for 4.x. Their validity on 5.x and 7.x is unknown (testing welcome).
The PR is not fully addressed by these changes since
CommittedVirtualMemorySize and OpenFileDescriptorCount remain bogus.
Suggestions on how to get these without using kvm(3) would be appreciated.
PR: 118735
Revision Changes Path
1.141 +1 -1 ports/java/jdk15/Makefile
1.3 +121 -0 ports/java/jdk15/files/patch-j2se::management::UnixOperatingSystem_md.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801011649.m01GnBTS085700>
