diff options
author | jkim <jkim@FreeBSD.org> | 2015-12-23 08:47:12 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2015-12-23 08:47:12 +0800 |
commit | 937ade02fc28014ca152f5823fe4db81ab775f1f (patch) | |
tree | 9b435fafe65eb9333e742e52e6dc20fff8983746 /java | |
parent | 45904dd9caed0f3aa32f5039aa82b9f193da8973 (diff) | |
download | freebsd-ports-gnome-937ade02fc28014ca152f5823fe4db81ab775f1f.tar.gz freebsd-ports-gnome-937ade02fc28014ca152f5823fe4db81ab775f1f.tar.zst freebsd-ports-gnome-937ade02fc28014ca152f5823fe4db81ab775f1f.zip |
Fix the previous commit. We do not support getThreadUserTime().
PR: 205523
Diffstat (limited to 'java')
-rw-r--r-- | java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp b/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp index 46da39fcc6d6..a09323a88708 100644 --- a/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp +++ b/java/openjdk8/files/patch-hotspot_src_os_bsd_vm_os__bsd.cpp @@ -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; |