> if all my java
> threads are suspended at a safepoint when a breakpoint
> is reached. (Suspend Policy: SUSPEND_ALL)
Yes. When a thread in the debugee hits a breakpoint
having a suspend policy of SUSPEND_ALL, all Java threads
are requested to self-suspend at the next safepoint. As
the other threads check in at the safepoint, they suspend
there. Any native methods that may be executing will be
suspended when they transition back to Java code.
Note: I am using the term safepoint here from the VM point
of view, where the world is consistent at safepoints and
can be inconsistent (EG: a GC is in the middle of relocating
an object) when outside a safepoint.