[
https://issues.apache.org/jira/browse/BEAM-14134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Cwik updated BEAM-14134:
-----------------------------
Fix Version/s: 2.38.0
Resolution: Fixed
Status: Resolved (was: Open)
> Many coders cause significant unnecessary allocations
> -----------------------------------------------------
>
> Key: BEAM-14134
> URL: https://issues.apache.org/jira/browse/BEAM-14134
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Steve Niemitz
> Assignee: Steve Niemitz
> Priority: P2
> Fix For: 2.38.0
>
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> Many coders (BigEndian*, Map, Iterable, Instant) use DataInputStream to read
> longs/ints/shorts. Internally each DataInputStream allocates ~200 bytes of
> buffers when instantiated. This means every long, int, short, etc decoded
> allocates over 200 bytes.
> We should eliminate all uses of DataInputStream in hot-paths and replace it
> with something more efficient.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)