RFR: 8302780: Add support for vectorized arraycopy GC barriers [v3]
Erik Österlund
eosterlund at openjdk.org
Fri Feb 24 12:31:43 UTC 2023
On Fri, 24 Feb 2023 10:26:41 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:
>> Erik Österlund has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp
>>
>> Co-authored-by: Roberto Castañeda Lozano <robcasloz at users.noreply.github.com>
>
> src/hotspot/cpu/x86/stubGenerator_x86_64_arraycopy.cpp line 1831:
>
>> 1829: BarrierSetAssembler *bs = BarrierSet::barrier_set()->barrier_set_assembler();
>> 1830: #if COMPILER2_OR_JVMCI
>> 1831: if ((!is_oop || bs->supports_avx3_masked_arraycopy()) && VM_Version::supports_avx512vlbw() && VM_Version::supports_bmi2() && MaxVectorSize >= 32) {
>
> Consider extending the test similarly in `generate_disjoint_int_oop_copy()` and `generate_conjoint_int_oop_copy()`, for consistency.
Good point. Will do.
-------------
PR: https://git.openjdk.org/jdk/pull/12670
More information about the hotspot-dev
mailing list