Skip to content

Commit 021541e

Browse files
committed
Try dumping threads differently.
1 parent e41589a commit 021541e

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

java-components/domain-proxy/client/src/main/java/com/redhat/hacbs/domainproxy/client/DomainProxyClient.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ private void startClient() {
7777
.open(UnixDomainSocketAddress.of(domainSocket));
7878
executor.submit(channelToChannelBiDirectionalHandler(byteBufferSize, httpClientChannel,
7979
domainSocketChannel));
80-
CommonIOUtil.threadDump();
8180
}
8281
}
8382
}

java-components/domain-proxy/common/src/main/java/com/redhat/hacbs/domainproxy/common/CommonIOUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public static Runnable channelToChannelBiDirectionalHandler(final int byteBuffer
3838
final SocketChannel rightChannel) {
3939
return () -> {
4040
currentThread().setName("channelToChannelHandler");
41+
CommonIOUtil.threadDump();
4142
LOG.info("Connections opened");
4243
final String leftChannelName = getChannelName(leftChannel);
4344
final String rightChannelName = getChannelName(rightChannel);

java-components/domain-proxy/server/src/main/java/com/redhat/hacbs/domainproxy/server/DomainProxyServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ private void startServer() {
7777
.open(new InetSocketAddress(LOCALHOST, httpServerPort));
7878
executor.submit(channelToChannelBiDirectionalHandler(byteBufferSize, httpServerChannel,
7979
domainSocketChannel));
80-
CommonIOUtil.threadDump();
8180
}
8281
}
8382
}

0 commit comments

Comments
 (0)