RFR : JDK-8151797 - java/lang/management/ThreadMXBean/ThreadLists.java : inconsistent results
Harsha Wardhana B
harsha.wardhana.b at oracle.com
Tue Mar 22 05:09:28 UTC 2016
Hello Serguei,
So far Staffan is the only reviewer.
Thanks
Harsha
On Tuesday 22 March 2016 07:47 AM, serguei.spitsyn at oracle.com wrote:
> Hi Harsha,
>
> Who are reviewers, only Staffan or there are more?
>
> Thanks,
> Serguei
>
>
> On 3/20/16 21:10, Harsha Wardhana B wrote:
>> Hello,
>>
>> Please review the new patch located at,
>>
>> http://cr.openjdk.java.net/~hb/8151797/webrev.01/
>>
>> -Harsha
>>
>> On Friday 18 March 2016 05:01 PM, Staffan Larsen wrote:
>>> You should move the Arrays.stream trigger call to before
>>> the ManagementFactory.getThreadMXBean, otherwise the threads you get
>>> from ThreadMXBean will not match the threads you get from the
>>> ThreadGroups.
>>>
>>>> On 18 mars 2016, at 12:17, Harsha Wardhana B
>>>> <harsha.wardhana.b at oracle.com
>>>> <mailto:harsha.wardhana.b at oracle.com>> wrote:
>>>>
>>>> Hello All,
>>>>
>>>> Please review fix for,
>>>>
>>>> Issue : JDK-8151797 <http://jdk-8151797/> -
>>>> java/lang/management/ThreadMXBean/ThreadLists.java : inconsistent
>>>> results
>>>> Webrev : http://cr.openjdk.java.net/~hb/8151797/webrev.00/
>>>>
>>>> Root-cause : call-site cleaner thread not started before counting
>>>> threads via Thread.getAllStackTraces();.
>>>> Fix : Create ThreadMXBean at the beginning of test so that
>>>> call-site cleaner thread will be started.
>>>>
>>>> Thanks
>>>> Harsha
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20160322/99f70542/attachment.html>
More information about the serviceability-dev
mailing list