We're updating the issue view to help you get more done. 

Avoid String allocations used only for trace in RequestHandler

Description

"String id" in com.datastax.driver.core.RequestHandler and com.datastax.driver.core.RequestHandler.SpeculativeExecution are evaluated for each request and allocate extra objects in heap but actually needed only for tracing.
The values can be calculated lazy.

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Dmitry Konstantinov

Labels

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Components

Affects versions

3.7.1

Priority

Minor