Date: Mon, 09 May 2022 14:48:42 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 263881] java/openjdk17-jre Exception: Thread CPU time measurement is not supported Message-ID: <bug-263881-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263881 Bug ID: 263881 Summary: java/openjdk17-jre Exception: Thread CPU time measurement is not supported Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: me@indgy.uk Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org Using OpenJDK17-JRE with GoCD Server (Zip version) from here: https://download.gocd.org/binaries/22.1.0-13913/generic/go-server-22.1.0-13= 913.zip GoCD is a CI/CD server. GoCD Server fails to run correctly when running a job in a Pipeline. Downgrading to OpenJDK11-JRE fixes the issue, the above error no longer appears. The following error seems to be the culprit. java.lang.UnsupportedOperationException: Thread CPU time measurement is not supported. at java.management/sun.management.ThreadImpl.verifyThreadCpuTime(Unknown Sourc= e) at java.management/sun.management.ThreadImpl.getThreadCpuTime(Unkno= wn Source) at jdk.management/com.sun.management.internal.HotSpotThreadImpl.getThreadCpuTi= me(Unknown Source) at java.management/sun.management.ThreadImpl.getThreadCpuTime(Unkno= wn Source) at com.thoughtworks.go.server.service.support.DaemonThreadStatsCollector.captu= reStats(DaemonThreadStatsCollector.java:33) at com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run= Impl(JMSMessageListenerAdapter.java:82) at com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run= (JMSMessageListenerAdapter.java:63) at java.base/java.lang.Thread.run(Unknown Source) Please drop me an email if you want me to setup an reproducable example. Thank you --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263881-8522>