<div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Hi,</div><div dir="ltr"><div><div>I prepared a StructuredTaskScope in a tree hierarchical structure as below:</div><div> TaskA</div><div> __|__</div><div> TaskB Tasks</div><div> ___|__. __|___</div><div> TaskD. TaskE. TaskF . TaskG</div><div><br></div><div>[Not sure it will show as a tree while sending email because of formatting, basically it's a three level full tree.]</div><div><br></div><div>I captured the stack trace using the below command while running this sample code with some delays on each task, so that I can capture thread dumps with all of these tasks in the running state.</div><div>I ran below command to get thread dumps in json format:</div><div>jcmd <pid> Thread.dump_to_file -format=json <file></div><div><br></div><div>I got the thread dump, my expectation was, threads will follow the same tree structure in thread dump also. We can track it based on the fields "owner" and "parent". But, it will be difficult to follow based on these fields if we have too many threads.</div><div>Is it designed like that because of any limitations? Or am I missing an</div><div><br></div><div>Thanks and Regards,</div><div>Muneer</div><div> </div></div></div>
</div></div>
</div>