jmx-dev RFR: 8020875 java/lang/management/ThreadMXBean/ResetPeakThreadCount.java fails intermittently
Chris Hegarty
chris.hegarty at oracle.com
Thu Jul 25 05:53:08 PDT 2013
On 07/25/2013 01:28 PM, Jaroslav Bachorik wrote:
> ......
>
> I have filed a separate issue for hotspot/svc (JDK-8021335)
Yes, this is probably a separate, and more involved, issue.
> For the time being I propose modifying the test to be less race-prone in
> java and adding a timeout of 500ms after terminating a number of threads.
Sounds reasonable.
> The test modifications are at
> http://cr.openjdk.java.net/~jbachorik/8020875/webrev.02
Looks fine.
Trivially, testFailed should be volatile ( if you still need it ). I
don't like that MyThread is not interruptible, but being run in othervm
this might not be such an issue.
-Chris.
>
> Thanks,
>
> -JB-
More information about the serviceability-dev
mailing list