Date: Wed, 23 Dec 2015 00:47:12 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404273 - head/java/openjdk8/files Message-ID: <201512230047.tBN0lCxh018610@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Wed Dec 23 00:47:12 2015 New Revision: 404273 URL: https://svnweb.freebsd.org/changeset/ports/404273 Log: Fix the previous commit. We do not support getThreadUserTime(). PR: 205523 Modified: head/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp Modified: head/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp ============================================================================== --- head/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp Wed Dec 23 00:40:32 2015 (r404272) +++ head/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp Wed Dec 23 00:47:12 2015 (r404273) @@ -47,7 +47,7 @@ return ((jlong)tinfo.user_time.seconds * 1000000000) + ((jlong)tinfo.user_time.microseconds * (jlong)1000); } #else -+ if (Bsd::_getcpuclockid != NULL) { ++ if (user_sys_cpu_time && Bsd::_getcpuclockid != NULL) { + struct timespec tp; + clockid_t clockid; + int ret;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512230047.tBN0lCxh018610>