RFR: 8340812: LambdaForm customization via MethodHandle::updateForm is not thread safe

Tobias Hartmann thartmann at openjdk.org
Wed Sep 25 06:30:51 UTC 2024


On Tue, 24 Sep 2024 15:18:19 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> test/jdk/java/lang/invoke/TestLambdaFormCustomization.java line 32:
>> 
>>> 30:   * @bug 8340812
>>> 31:   * @summary Verify that LambdaForm customization via MethodHandle::updateForm is thread safe.
>>> 32:   * @run driver TestLambdaFormCustomization
>> 
>> Looks a bit weird that you use `driver` here and `main` on the next line; what's the convention like?
>
> To specify custom arguments, I need to run with `othervm`, right?

Ah, but I can of course use `@run main` here as well. Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21160#discussion_r1773581694


More information about the core-libs-dev mailing list