maintainer-feedback requested: [Bug 205523] java/openjdk8: support getThreadCpuTime()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 22 22:03:17 UTC 2015


Duraid Madina <duraid at octopus.com.au> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to java at FreeBSD.org:
Bug 205523: java/openjdk8: support getThreadCpuTime()
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205523



--- Description ---
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.


More information about the freebsd-java mailing list