RFR: 8268125: ZGC: Clone oop array gets wrong acopy stub [v6]

Nils Eliasson neliasso at openjdk.java.net
Tue Jun 15 07:04:41 UTC 2021


On Mon, 14 Jun 2021 20:59:02 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Nils Eliasson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   added newline at eof
>
> test/hotspot/jtreg/compiler/arraycopy/TestObjectArrayClone.java line 29:
> 
>> 27:  * @summary Test Object.clone() intrinsic if ReduceInitialCardMarks is disabled.
>> 28:  *
>> 29:  * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-ReduceInitialCardMarks
> 
> Considering the complications `-XX:+StressReflectiveCode` introduces, does it make sense to add a configuration with the flag explicitly enabled?

We have this test: compiler.arraycopy.TestEliminateArrayCopy (and there are some additional variants) that reproduces the problem, it uses the StressReflectiveCode flag.

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

PR: https://git.openjdk.java.net/jdk/pull/4359


More information about the hotspot-dev mailing list