As I understand it, the reason why managed threads are paused is because the managed heap can be compacted during collection. If this happens, references to managed objects should be adjusted. I believe that your own threads do not use objects in the managed heap and therefore should not depend on garbage collection.
If your own threads have access to managed objects, you must migrate them. This will prevent the GC from moving during compaction.
source
share