Open
Description
The async driver creates a thread pool, but uses the default naming. In stack traces, this causes all the threads to show up with the default name pool-x-thread-y
. For ease of use when reviewing thread dumps, please name your pool threads. Example thread:
"pool-9-thread-1" - Thread t@47
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.net.SocketInputStream.read(SocketInputStream.java:140)
at com.arangodb.internal.velocystream.internal.VstConnection.readBytesIntoBuffer(VstConnection.java:260)
at com.arangodb.internal.velocystream.internal.VstConnection.readBytes(VstConnection.java:254)
at com.arangodb.internal.velocystream.internal.VstConnection.readChunk(VstConnection.java:231)
at com.arangodb.internal.velocystream.internal.VstConnection$1.call(VstConnection.java:141)
at com.arangodb.internal.velocystream.internal.VstConnection$1.call(VstConnection.java:124)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:834)
Metadata
Metadata
Assignees
Labels
No labels