On Fri, 24 Jul 2026 01:52:08 GMT, Sergey Bylokhov <[email protected]> wrote:
>> The MAX_LINK_COUNT fix is not the important part of fix for JBS-8364373, but >> having it is causing a functional bug. So we are reverting the not important >> MAX_LINK_COUNT part of fix to solve the functional bug. > > But it is still possible to blowup the heap in some degenerate cases with a > small amount of data, no? > I think it should be possible to merge ranges for same curves on "add" > instead of doing this only on gaps? In the original bug the decrease in memory footprint achieved by clearing these intermediate vectors was minimal compared to other changes. But clearing these intermediate vectors is resulting in functional bug. So under this PR we are only fixing this functional regression. If there is need for any more optimization, it should be taken up as a separate issue with proper testing. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31971#discussion_r3643424891
