Searched refs:threadMxBean (Results 1 – 2 of 2) sorted by relevance
12 private final Object threadMxBean; field in ReflectiveThreadMXBean40 ReflectiveThreadMXBean(Object threadMxBean) { in ReflectiveThreadMXBean() argument42 this.threadMxBean = threadMxBean; in ReflectiveThreadMXBean()52 return (Long) Holder.getThreadCpuTimeMethod.invoke(threadMxBean, id); in getThreadCpuTime()77 return (Boolean) Holder.isThreadCpuTimeSupportedMethod.invoke(threadMxBean); in isThreadCpuTimeSupported()
58 private static final ThreadMXBean getBean(Object threadMxBean) { in getBean() argument59 return threadMxBean != null in getBean()60 ? new ReflectiveThreadMXBean(threadMxBean) : new FakeThreadMXBean(); in getBean()