Date: Wed, 14 Nov 2012 16:09:03 +0200 From: Alexander Yerenkow <yerenkow@gmail.com> To: freebsd-java@freebsd.org Subject: getCurrentThreadCpuTime Not supported under FreeBSD Message-ID: <CAPJF9wndGfGKzWJoeandgHP6jW%2BjFszvcSgAjvJNFH=n4kLbzA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello all. Did someone tried to make FreeBSD java working with CPU? This simple code currently failing under openjdk6/openjdk7: ThreadMXBean threadMXBean = ManagementFactory.getThreadMXBean(); System.out.println("threadMXBean.isThreadCpuTimeSupported() = " + threadMXBean.isThreadCpuTimeSupported()); System.out.println("threadMXBean.isThreadCpuTimeEnabled() = " + threadMXBean.isThreadCpuTimeEnabled()); And also, some programs (JBoss, Intellij IDEA) partially failsto work (first can't make through build tests, second one just spamming in logs that ThreadCpuTime undefined); -- Regards, Alexander Yerenkow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9wndGfGKzWJoeandgHP6jW%2BjFszvcSgAjvJNFH=n4kLbzA>