src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c
changeset 47525 e05aff6beada
parent 47216 71c04702a3d5
child 48235 8db54e2c453b
equal deleted inserted replaced
47524:97569cf468f4 47525:e05aff6beada
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  1285          *   life left anyway.
  1285          *   life left anyway.
  1286          */
  1286          */
  1287     } debugMonitorExit(callbackBlock);
  1287     } debugMonitorExit(callbackBlock);
  1288 
  1288 
  1289     /*
  1289     /*
  1290      * The VM will die soon after the completion of this callback - we
  1290      * The VM will die soon after the completion of this callback -
  1291      * may need to do a final synchronization with the command loop to
  1291      * we synchronize with both the command loop and the debug loop
  1292      * avoid the VM terminating with replying to the final (resume)
  1292      * for a more orderly shutdown.
  1293      * command.
       
  1294      */
  1293      */
       
  1294     commandLoop_sync();
  1295     debugLoop_sync();
  1295     debugLoop_sync();
  1296 
  1296 
  1297     LOG_MISC(("END cbVMDeath"));
  1297     LOG_MISC(("END cbVMDeath"));
  1298 }
  1298 }
  1299 
  1299