jdk/src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c
changeset 28059 e576535359cc
parent 25859 3317bb8137f4
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
   436             suspendPolicy = eventHelper_reportEvents(sessionID, completedBag);
   436             suspendPolicy = eventHelper_reportEvents(sessionID, completedBag);
   437             if (thread != NULL && suspendPolicy != JDWP_SUSPEND_POLICY(NONE)) {
   437             if (thread != NULL && suspendPolicy != JDWP_SUSPEND_POLICY(NONE)) {
   438                 do {
   438                 do {
   439                     /* The events have been reported and this
   439                     /* The events have been reported and this
   440                      * thread is about to continue, but it may
   440                      * thread is about to continue, but it may
   441                      * have been started up up just to perform a
   441                      * have been started up just to perform a
   442                      * requested method invocation. If so, we do
   442                      * requested method invocation. If so, we do
   443                      * the invoke now and then stop again waiting
   443                      * the invoke now and then stop again waiting
   444                      * for another continue. By then another
   444                      * for another continue. By then another
   445                      * invoke request can be in place, so there is
   445                      * invoke request can be in place, so there is
   446                      * a loop around this code.
   446                      * a loop around this code.