RFR: 8302850: Implement C1 clone intrinsic that reuses arraycopy code for primitive arrays [v16]

Galder Zamarreño galder at openjdk.org
Mon May 13 17:40:54 UTC 2024


On Mon, 13 May 2024 13:44:42 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> Galder Zamarreño has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update src/hotspot/share/c1/c1_GraphBuilder.cpp
>>   
>>   Co-authored-by: Dean Long <17332032+dean-long at users.noreply.github.com>
>
> src/hotspot/share/c1/c1_GraphBuilder.cpp line 2031:
> 
>> 2029:       ciType* type = receiver->exact_type();
>> 2030:       if (type != nullptr && type->is_loaded()) {
>> 2031:         assert(!type->is_instance_klass() || !type->as_instance_klass()->is_interface(), "");
> 
> Please add a message to the assert.

Added, is that ok?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17667#discussion_r1598823687


More information about the hotspot-compiler-dev mailing list