[foreign-memaccess+abi] RFR: 8296417: Make memory session a pure lifetime abstraction [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Nov 4 22:14:43 UTC 2022


On Fri, 4 Nov 2022 19:31:24 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix vector tests
>
> test/jdk/java/foreign/TestSegmentAllocators.java line 501:
> 
>> 499:     static Object[][] allocators() {
>> 500:         return new Object[][] {
>> 501:                 { SegmentAllocator.implicitAllocator() },
> 
> I guess this case could be replaced with `SegmentAllocator.nativeAllocator(MemorySession.implicit())`

yes, but except for the different session, it's not like the test is going to stress a different allocation implementation?

-------------

PR: https://git.openjdk.org/panama-foreign/pull/750


More information about the panama-dev mailing list