On Tue, 24 Mar 2026 13:32:22 GMT, Eirik Bjørsnøs <[email protected]> wrote:
> I found three instances of `Thread.currentThread().setName` in Apache > Cassandra This is useful, makes me wonder if checking the old vs. new name helps. For the usage in runWithThreadName then presumably something in the frameworks invokes this with a special name when it wants the action run with that name. For the "Messaging-OUT" case then it looks like it's very tied to whatever the outbound connection is so unlikely to be restoring to same thread name. ------------- PR Comment: https://git.openjdk.org/jdk/pull/30374#issuecomment-4118641439
