[lworld] RFR: 8373567: [lworld] Move array copy exception throwing out of GC barriers [v2]

Axel Boldt-Christmas aboldtch at openjdk.org
Tue Dec 16 07:44:33 UTC 2025


On Mon, 15 Dec 2025 21:33:27 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>>> The caller is responsible to throw an exception on failure
>> 
>> That would be perfect!  Thanks
>
> I added the last sentence but I'm a little bit uncertain about the grammar. Feel free to nit-pick if it sounds weird.

In C++20 we can have the message be part of the attribute. `[[nodiscard("The caller is responsible to throw an exception on failure")]]`

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1792#discussion_r2622152421


More information about the valhalla-dev mailing list