> This PR proposes to add a small text segment on the
> `MemorySegment::reinterpret` overloads that takes an Arena stating the
> responsibility of actually freeing reinterpreted segments lies with the
> *original* arena.
Per Minborg has updated the pull request incrementally with one additional
On Mon, 4 Nov 2024 14:08:08 GMT, Per Minborg wrote:
>> This PR proposes to add a small text segment on the
>> `MemorySegment::reinterpret` overloads that takes an Arena stating the
>> responsibility of actually freeing reinterpreted segments lies with the
>> *original* arena.
>
> Per Minborg h
On Fri, 1 Nov 2024 09:11:43 GMT, Per Minborg wrote:
>> This PR proposes to add a small text segment on the
>> `MemorySegment::reinterpret` overloads that takes an Arena stating the
>> responsibility of actually freeing reinterpreted segments lies with the
>> *original* arena.
>
> Per Minborg h
> This PR proposes to add a small text segment on the
> `MemorySegment::reinterpret` overloads that takes an Arena stating the
> responsibility of actually freeing reinterpreted segments lies with the
> *original* arena.
Per Minborg has updated the pull request incrementally with one additional
On Thu, 31 Oct 2024 14:32:46 GMT, Per Minborg wrote:
>> This PR proposes to add a small text segment on the
>> `MemorySegment::reinterpret` overloads that takes an Arena stating the
>> responsibility of actually freeing reinterpreted segments lies with the
>> *original* arena.
>
> Per Minborg
On Thu, 31 Oct 2024 14:32:46 GMT, Per Minborg wrote:
>> This PR proposes to add a small text segment on the
>> `MemorySegment::reinterpret` overloads that takes an Arena stating the
>> responsibility of actually freeing reinterpreted segments lies with the
>> *original* arena.
>
> Per Minborg
> This PR proposes to add a small text segment on the
> `MemorySegment::reinterpret` overloads that takes an Arena stating the
> responsibility of actually freeing reinterpreted segments lies with the
> *original* arena.
Per Minborg has updated the pull request incrementally with one additional
> This PR proposes to add a small text segment on the
> `MemorySegment::reinterpret` overloads that takes an Arena stating the
> responsibility of actually freeing reinterpreted segments lies with the
> *original* arena.
Per Minborg has updated the pull request incrementally with two additional
On Thu, 31 Oct 2024 14:03:51 GMT, Jorn Vernee wrote:
>> Per Minborg has updated the pull request with a new target base due to a
>> merge or a rebase. The incremental webrev excludes the unrelated changes
>> brought in by the merge/rebase. The pull request contains three additional
>> commits
On Thu, 31 Oct 2024 13:42:03 GMT, Per Minborg wrote:
>> This PR proposes to add a small text segment on the
>> `MemorySegment::reinterpret` overloads that takes an Arena stating the
>> responsibility of actually freeing reinterpreted segments lies with the
>> *original* arena.
>
> Per Minborg
> This PR proposes to add a small text segment on the
> `MemorySegment::reinterpret` overloads that takes an Arena stating the
> responsibility of actually freeing reinterpreted segments lies with the
> *original* arena.
Per Minborg has updated the pull request with a new target base due to a m
On Wed, 30 Oct 2024 12:57:50 GMT, Maurizio Cimadamore
wrote:
> But then, somewhere else say:
>
> "The returned segment is backed by the same memory region as that of the
> original segment. As such, the region of memory backing the returned segment
> is truly deallocated only when the origina
On Wed, 30 Oct 2024 12:42:16 GMT, Jorn Vernee wrote:
> I think it's technically correct, but I think it's starting off on the wrong
> foot. There's no transfer of ownership happening, `reinterpret` just returns
> a view of the old memory region with a new scope borrowed from the given
> arena.
On Wed, 30 Oct 2024 10:58:22 GMT, Maurizio Cimadamore
wrote:
>> src/java.base/share/classes/java/lang/foreign/MemorySegment.java line 766:
>>
>>> 764: * method returns a segment that behaves as if it had been
>>> allocated using the
>>> 765: * provided arena except, the returned segm
On Tue, 29 Oct 2024 12:42:47 GMT, Jorn Vernee wrote:
>> This PR proposes to add a small text segment on the
>> `MemorySegment::reinterpret` overloads that takes an Arena stating the
>> responsibility of actually freeing reinterpreted segments lies with the
>> *original* arena.
>
> src/java.bas
On Tue, 29 Oct 2024 12:20:01 GMT, Per Minborg wrote:
> This PR proposes to add a small text segment on the
> `MemorySegment::reinterpret` overloads that takes an Arena stating the
> responsibility of actually freeing reinterpreted segments lies with the
> *original* arena.
src/java.base/share
16 matches
Mail list logo