Skip to content

Set names for all internal threads #1401

@dnovitski

Description

@dnovitski

Describe the feature

Set descriptive names for each thread created by AWS JDBC wrapper, such as by these thread pools:

Image

Use Case

While profiling I noticed generic thread names such as these:

Image

Initially it was not clear what these were, but after debugging we found these threads are created by AWS JDBC wrapper. As there is no name set specifically, Java generates generic thread names.

It would be helpful and better practice if these threads can have a more descriptive name.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

The AWS Advanced JDBC Driver version used

2.3.9

JDK version used

openjdk version "21" 2023-09-19 OpenJDK Runtime Environment Zulu21.28+85-CA (build 21+35) OpenJDK 64-Bit Server VM Zulu21.28+85-CA (build 21+35, mixed mode, sharing)

Operating System and version

MacOS 15.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions