changeset 53610:051b5f7510d5

8215550: Debugger does not work after reattach Reviewed-by: cjplummer, sspitsyn
author gadams
date Thu, 31 Jan 2019 07:24:28 -0500
parents 881c5fbeb849
children f72661ff0294
files src/jdk.jdwp.agent/share/native/libjdwp/eventHelper.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();
 }
 
 /*