Re: RFR: 8348567: [ASAN] Memory access partially overflows by NativeCallStack

2025-01-30 Thread SendaoYan
On Fri, 24 Jan 2025 09:53:43 GMT, SendaoYan wrote: > Hi all, > This PR fix a undefined behaviour in 'CollisionsReceiveDifferentIndexes' > testcase > locate in 'test/hotspot/gtest/nmt/test_nmt_nativecallstackstorage.cpp' file > when call `NativeCallStack::NativeCallStack` function. Before this

Re: RFR: 8348567: [ASAN] Memory access partially overflows by NativeCallStack

2025-01-29 Thread David Holmes
On Fri, 24 Jan 2025 09:53:43 GMT, SendaoYan wrote: > Hi all, > This PR fix a undefined behaviour in 'CollisionsReceiveDifferentIndexes' > testcase > locate in 'test/hotspot/gtest/nmt/test_nmt_nativecallstackstorage.cpp' file > when call `NativeCallStack::NativeCallStack` function. Before this

Re: RFR: 8348567: [ASAN] Memory access partially overflows by NativeCallStack

2025-01-29 Thread Johan Sjölen
On Fri, 24 Jan 2025 09:53:43 GMT, SendaoYan wrote: > Hi all, > This PR fix a undefined behaviour in 'CollisionsReceiveDifferentIndexes' > testcase > locate in 'test/hotspot/gtest/nmt/test_nmt_nativecallstackstorage.cpp' file > when call `NativeCallStack::NativeCallStack` function. Before this

RFR: 8348567: [ASAN] Memory access partially overflows by NativeCallStack

2025-01-24 Thread SendaoYan
Hi all, This PR fix a undefined behaviour in 'CollisionsReceiveDifferentIndexes' testcase locate in 'test/hotspot/gtest/nmt/test_nmt_nativecallstackstorage.cpp' file when call `NativeCallStack::NativeCallStack` function. Before this PR, 'CollisionsReceiveDifferentIndexes' test allocate 4 type v