5.4.11. APIs (Java)

5.4.11.1. [Major] Unnecessary memory operations when receiving inherited bounded sequences

Memory usage related to receiving samples containing bounded sequences in the Java API had been recently improved via CORE-14667. However, those initial changes did not correctly cover the case of inherited sequences. Now they do.

[RTI Issue ID CORE-15092]

5.4.11.2. [Major] For types with strings, sample size calculation in Java may have overestimated serialized size

In Java implementations, sample size calculations for types with strings assumed the maximum UTF-8 character size (4 bytes), potentially overestimating memory requirements. This behavior has now been optimized to calculate size based on the actual string content, reducing unnecessary overhead.

[RTI Issue ID CORE-15311]