Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Dec 22, 2015, 5:03:31 PM12/22/15
to
Duraid Madina <dur...@octopus.com.au> has reassigned Bugzilla Automation
<bugz...@FreeBSD.org>'s request for maintainer-feedback to ja...@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.
_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java...@freebsd.org"

0 new messages