8215550: Debugger does not work after reattach
authorgadams
Thu, 31 Jan 2019 07:24:28 -0500
changeset 53583 051b5f7510d5
parent 53582 881c5fbeb849
child 53584 f72661ff0294
8215550: Debugger does not work after reattach Reviewed-by: cjplummer, sspitsyn
src/jdk.jdwp.agent/share/native/libjdwp/eventHelper.c
--- a/src/jdk.jdwp.agent/share/native/libjdwp/eventHelper.c	Thu Jan 31 10:31:39 2019 +0100
+++ b/src/jdk.jdwp.agent/share/native/libjdwp/eventHelper.c	Thu Jan 31 07:24:28 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -752,6 +752,7 @@
     holdEvents = JNI_FALSE;
     debugMonitorNotifyAll(commandQueueLock);
     debugMonitorExit(commandQueueLock);
+    unblockCommandLoop();
 }
 
 /*