2 ms·
> It's usually used for logging and exceptions. That's why I was querying it's suitability for profiling. The time to get a lock for a global "safepoint" and t
by grumpyprole 4y ago
> It's usually used for logging and exceptions.
That's why I was querying it's suitability for profiling. The time to get a lock for a global "safepoint" and then release it must be significant no?
- parttimenerd 4y agoIt's not as significant as one might think (the JVM uses it internally for GC and other things). The main problem is the bias it leads to in profiling and that the time-to-safepoint can sporadically be in the tens of milliseconds with is not great.