[Bug 205523] java/openjdk8: support getThreadCpuTime()
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 22 22:03:17 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205523
Bug ID: 205523
Summary: java/openjdk8: support getThreadCpuTime()
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: java at FreeBSD.org
Reporter: duraid at octopus.com.au
Assignee: java at FreeBSD.org
Flags: maintainer-feedback?(java at FreeBSD.org)
For some years now, FreeBSD java users have encountered:
java.lang.UnsupportedOperationException: Thread CPU time measurement is not
supported.
at sun.management.ThreadImpl.verifyThreadCpuTime(ThreadImpl.java:232)
at sun.management.ThreadImpl.getThreadCpuTime(ThreadImpl.java:251)
at sun.management.ThreadImpl.getThreadCpuTime(ThreadImpl.java:222)
which is particularly problematic when dealing with (buggy) software that
assumes getThreadCpuTime() calls will succeed.
Will Andrews has apparently fixed this issue, see:
http://mail.openjdk.java.net/pipermail/bsd-port-dev/2015-May/002557.html
for a description and patches. It would be great to have this issue fixed in
the JDKs distributed with FreeBSD.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-java
mailing list