Re: [jdk20] RFR: 8300275: SegmentScope.isAccessibleBy returning incorrect values [v2]

2023-01-18 Thread Maurizio Cimadamore
> The implementation of MemorySessionImpl::isAccessibleBy is incorrect, and > ends up always returning `false` for scopes associated with shared arenas. > This patch rectifies that, and adds some tests. Maurizio Cimadamore has updated the pull request incrementally with one additional commit

Re: [jdk20] RFR: 8300275: SegmentScope.isAccessibleBy returning incorrect values

2023-01-18 Thread Jorn Vernee
On Tue, 17 Jan 2023 18:30:16 GMT, Maurizio Cimadamore wrote: > The implementation of MemorySessionImpl::isAccessibleBy is incorrect, and > ends up always returning `false` for scopes associated with shared arenas. > This patch rectifies that, and adds some tests. Marked as reviewed by jvernee

Re: [jdk20] RFR: 8300275: SegmentScope.isAccessibleBy returning incorrect values

2023-01-18 Thread Alan Bateman
On Tue, 17 Jan 2023 18:30:16 GMT, Maurizio Cimadamore wrote: > The implementation of MemorySessionImpl::isAccessibleBy is incorrect, and > ends up always returning `false` for scopes associated with shared arenas. > This patch rectifies that, and adds some tests. Looks okay to me, surprised

[jdk20] RFR: 8300275: SegmentScope.isAccessibleBy returning incorrect values

2023-01-17 Thread Maurizio Cimadamore
The implementation of MemorySessionImpl::isAccessibleBy is incorrect, and ends up always returning `false` for scopes associated with shared arenas. This patch rectifies that, and adds some tests. - Commit messages: - Fix bug in MemorySessionImpl::isAccessibleBy Changes: