[
https://issues.jboss.org/browse/WFLY-349?page=com.atlassian.jira.plugin.s...
]
Jason Greene updated WFLY-349:
------------------------------
Fix Version/s: 8.0.0.CR1
(was: 8.0.0.Beta1)
FreeBSD isThreadCpuTimeSupported
--------------------------------
Key: WFLY-349
URL:
https://issues.jboss.org/browse/WFLY-349
Project: WildFly
Issue Type: Feature Request
Components: Domain Management
Environment: FreeBSD 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64
openjdk6/openjdk7
Reporter: Alexander Yerenkow
Fix For: 8.0.0.CR1
Platform Tests should be modified, since it's not respecting when
isThreadCpuTimeSupported = false (It continues run some test with
isThreadCpuTimeSupported, which produces Exceptions, and all test failed);
Simple test:
ThreadMXBean threadMXBean = ManagementFactory.getThreadMXBean();
System.out.println("threadMXBean.isThreadCpuTimeSupported() = " +
threadMXBean.isThreadCpuTimeSupported());
System.out.println("threadMXBean.isThreadCpuTimeEnabled() = " +
threadMXBean.isThreadCpuTimeEnabled());
Result:
threadMXBean.isThreadCpuTimeSupported() = false
Exception in thread "main" java.lang.UnsupportedOperationException: Thread CPU
time measurement is not supported
at sun.management.ThreadImpl.isThreadCpuTimeEnabled(ThreadImpl.java:98)
at Test.main(Test.java:19)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira