On Fri, 9 Sep 2022 10:03:11 GMT, Markus KARG <d...@openjdk.org> wrote:

>> Unless there's a bug and the new code path is triggered when there's a mark 
>> ;-) . Maybe we can convince ourselves that this can't happen now (by reading 
>> the code), but if someone modifies this code 2 years from now and introduces 
>> a bug that changes that it would be good to have a test to catch it.
>
> It depends on the target of a test, but I am fine with adding such a test, as 
> I alrready wrote.

Since 
https://github.com/openjdk/jdk/pull/6935/commits/5d24268a807faa4535ea66f7e40ca6e4b983ce51
 the test now proofs that mark/reset is respected by subsequent transferTo.

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

PR: https://git.openjdk.org/jdk/pull/6935

Reply via email to