Skip to content

Review bufferPool usages for concurrent slots #42

@jfallows

Description

@jfallows

WriteStream.getWriteBuffer(...) can use BufferPool.byteBuffer(...) on an existing slot in some cases.

WriteStream.handleUnwrittenData(...) can acquire a new slot to store remaining data and once again accesses the BufferPool.byteBuffer for the new slot.

There is potential for offset and limit of the original byte buffer to be reset unintentionally.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions