On Tue, 3 Nov 2026 20:48:19 GMT, Leonid Mesnik <[email protected]> wrote:

>> I suggest to add two test methods, for cloneObject and cloneArray, and call 
>> them in loop to trigger JIT compilation.
>
> I updated test to provoke compilation using loop and added -Xbatch to ensure 
> that compiled method is used.
> 
> I didn't add C1/C2 specific tests, not sure if it   makes sense to execute 
> them every time.

You can run your test with -XX:+PrintOptoStatistics to see if C2 used this 
intrinsic

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33684#discussion_r4461135675

Reply via email to