There is a small difference in how these methods treat unused TLAB 
remainder. ThreadMXBean accumulates only used part of TLAB, reflecting the 
size of allocated objects. On the other hand, the sum of tlab_size reflects 
the actual heap pressure. Practically I think the difference is negligible.

понедельник, 5 февраля 2018 г., 23:03:13 UTC+3 пользователь Maxim Terletsky 
написал:
>
> Thanks Andrei, I will try both of those methods!
> Are they supposed to give me ~the same or will they work differently?
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to