Re: RFR: 8254693: Add Panama feature to pass heap segments to native code [v14]

2023-11-14 Thread Jorn Vernee
On Mon, 13 Nov 2023 12:51:36 GMT, Jorn Vernee wrote: >> Add the ability to pass heap segments to native code. This requires using >> `Linker.Option.critical(true)` as a linker option. It has the same >> limitations as normal critical calls, namely: upcalls into Java are not >> allowed, and

Re: RFR: 8254693: Add Panama feature to pass heap segments to native code [v14]

2023-11-14 Thread Sergey Bylokhov
On Mon, 13 Nov 2023 12:51:36 GMT, Jorn Vernee wrote: >> Add the ability to pass heap segments to native code. This requires using >> `Linker.Option.critical(true)` as a linker option. It has the same >> limitations as normal critical calls, namely: upcalls into Java are not >> allowed, and

Re: RFR: 8254693: Add Panama feature to pass heap segments to native code [v14]

2023-11-14 Thread Jorn Vernee
On Tue, 14 Nov 2023 23:04:16 GMT, Sergey Bylokhov wrote: >> Jorn Vernee has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 52 commits: >> >> - Merge branch 'master' into AllowHeapNoLock >> - fix type and reformat doc in Linker >>

Re: RFR: 8254693: Add Panama feature to pass heap segments to native code [v14]

2023-11-14 Thread Sergey Bylokhov
On Mon, 13 Nov 2023 12:51:36 GMT, Jorn Vernee wrote: >> Add the ability to pass heap segments to native code. This requires using >> `Linker.Option.critical(true)` as a linker option. It has the same >> limitations as normal critical calls, namely: upcalls into Java are not >> allowed, and

Re: RFR: 8254693: Add Panama feature to pass heap segments to native code [v14]

2023-11-14 Thread Martin Doerr
On Mon, 13 Nov 2023 12:51:36 GMT, Jorn Vernee wrote: >> Add the ability to pass heap segments to native code. This requires using >> `Linker.Option.critical(true)` as a linker option. It has the same >> limitations as normal critical calls, namely: upcalls into Java are not >> allowed, and

Re: RFR: 8254693: Add Panama feature to pass heap segments to native code [v14]

2023-11-13 Thread Vladimir Ivanov
On Mon, 13 Nov 2023 12:51:36 GMT, Jorn Vernee wrote: >> Add the ability to pass heap segments to native code. This requires using >> `Linker.Option.critical(true)` as a linker option. It has the same >> limitations as normal critical calls, namely: upcalls into Java are not >> allowed, and

Re: RFR: 8254693: Add Panama feature to pass heap segments to native code [v14]

2023-11-13 Thread Jorn Vernee
> Add the ability to pass heap segments to native code. This requires using > `Linker.Option.critical(true)` as a linker option. It has the same > limitations as normal critical calls, namely: upcalls into Java are not > allowed, and the native function should return relatively quickly. Heap >