Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 22:03:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 205523] java/openjdk8: support getThreadCpuTime()
Message-ID:  <bug-205523-8522-73utR9IdwI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205523-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205523-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Duraid Madina <duraid@octopus.com.au> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to java@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205523-8522-73utR9IdwI>