ThreadDump safepoint ever invoked by ZGC?

Stefan Karlsson stefan.karlsson at oracle.com
Fri Feb 28 21:21:49 UTC 2020


Hi Barry,

On 2020-02-28 21:50, Barry Galster wrote:
> ZGC experts,
> I have a trio of questions for you:
>
>
>    1.  Does ZGC ever invoke the ThreadDump safepoint?

ZGC in it self does not invoke any ThreadDump safepoints. However, there 
are different serviceability and management features/APIs that do. They 
are independent of what GC is used.

A few of the APIs can be found here:
https://docs.oracle.com/en/java/javase/13/docs/api/java.management/java/lang/management/ThreadMXBean.html

and in the Thread class:
https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Thread.html

>    2.  If so, why?
>    3.  Is there any way to disable this?

There's no way that I'm aware of, except trying to turn figure out what 
management APIs are used and disable them somehow.

StefanK

>
> Regards,
> Barry
>
> Barry Galster
> Performance Engineer - Team Lead
> T +13122047574
> E Barry.Galster at imc.com<mailto:Barry.Galster at imc.com>
> 233 South Wacker Drive # 4300,
> Chicago, Illinois 60606, US
> [IMC Logo]<https://www.imc.com/us/>
>
> [F]<https://www.facebook.com/IMCTrading>
>
>
> [t]<http://twitter.com/IMCTrading>
>
>
> [I]<https://www.instagram.com/imctrading/>
>
>
> [in]<https://www.linkedin.com/company/imc-financial-markets>
>
>
> imc.com<https://www.imc.com/us/>
>
>
>
> ________________________________
>
> The information in this e-mail is intended only for the person or entity to which it is addressed.
>
> It may contain confidential and /or privileged material, the disclosure of which is prohibited. Any unauthorized copying, disclosure or distribution of the information in this email outside your company is strictly forbidden.
>
> If you are not the intended recipient (or have received this email in error), please contact the sender immediately and permanently delete all copies of this email and any attachments from your computer system and destroy any hard copies. Although the information in this email has been compiled with great care, neither IMC nor any of its related entities shall accept any responsibility for any errors, omissions or other inaccuracies in this information or for the consequences thereof, nor shall it be bound in any way by the contents of this e-mail or its attachments.
>
> Messages and attachments are scanned for all known viruses. Always scan attachments before opening them.



More information about the zgc-dev mailing list