RFR: 8343767: Enumerate StubGen blobs, stubs and entries and generate code from declarations [v2]
Andrew Dinn
adinn at openjdk.org
Thu Nov 21 13:30:28 UTC 2024
On Thu, 21 Nov 2024 13:16:40 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
>> Andrew Dinn has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fix comments and remove unused stubid on riscv
>
> src/hotspot/cpu/s390/stubGenerator_s390.cpp line 630:
>
>> 628:
>> 629: address generate_lookup_secondary_supers_table_stub(u1 super_klass_index) {
>> 630: StubGenStubId stub_id = (StubGenStubId)(StubGenStubId::partial_subtype_check_id + super_klass_index);
>
> @offamitkumar This is clearly a cut and paste error. The base id for the stub should be lookup_secondary_supers_table_id i.e. the above line should be:
>
> StubGenStubId stub_id = (StubGenStubId)(StubGenStubId::lookup_secondary_supers_table_id + super_klass_index);
Fixed in latest push.
> src/hotspot/cpu/s390/stubGenerator_s390.cpp line 1279:
>
>> 1277: break;
>> 1278: case arrayof_jbyte_disjoint_arraycopy_id:
>> 1279: aligned = false;
>
> This is another cut and paste error. The arrayof stubs are aligned so they should have:
> aligned = true;
Fixed in latest push
> src/hotspot/cpu/s390/stubGenerator_s390.cpp line 1373:
>
>> 1371: break;
>> 1372: case arrayof_jbyte_arraycopy_id:
>> 1373: aligned = false;
>
> Likewise the same error here.
Fixed in latest push
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21957#discussion_r1852058617
PR Review Comment: https://git.openjdk.org/jdk/pull/21957#discussion_r1852058895
PR Review Comment: https://git.openjdk.org/jdk/pull/21957#discussion_r1852058977
More information about the hotspot-dev
mailing list