Comment 5 for bug 2058966

Revision history for this message
Vladimir Petko (vpa1977) wrote :

$ readelf -s /usr/lib/jvm/default-java/lib/server/libjvm.so | grep _Copy
    84: 00000000 0 FUNC GLOBAL DEFAULT UND _Copy_conjoint_bytes
 54701: 00711f19 480 FUNC LOCAL DEFAULT 12 Unsafe_CopyMemory0
 54716: 00712a79 536 FUNC LOCAL DEFAULT 12 Unsafe_CopySwapM[...]
 64467: 0051c174 0 FUNC LOCAL DEFAULT 12 _Copy_conjoint_j[...]
 66578: 0051bd70 0 FUNC LOCAL DEFAULT 12 _Copy_disjoint_words
 69023: 0051c178 0 FUNC LOCAL DEFAULT 12 _Copy_arrayof_co[...]
 73507: 0051bde8 0 FUNC LOCAL DEFAULT 12 _Copy_conjoint_words
 82170: 0051bed8 0 FUNC LOCAL DEFAULT 12 _Copy_conjoint_j[...]
 90889: 0051c174 0 FUNC LOCAL DEFAULT 12 _Copy_arrayof_co[...]
 91117: 0051bd6c 0 FUNC LOCAL DEFAULT 12 _Copy_arrayof_co[...]
 91297: 0051c170 0 FUNC LOCAL DEFAULT 12 _Copy_arrayof_co[...]
 92855: 0051c178 0 FUNC LOCAL DEFAULT 12 _Copy_conjoint_j[...]
 96326: 0048f9f1 16 FUNC LOCAL DEFAULT 12 ___Copy_conjoint[...]
 96330: 0048fa01 16 FUNC LOCAL DEFAULT 12 ___Copy_conjoint[...]
 96334: 0048fa11 16 FUNC LOCAL DEFAULT 12 ___Copy_conjoint[...]
 96338: 0048fa21 16 FUNC LOCAL DEFAULT 12 ___Copy_disjoint[...]
 96346: 0076a719 16 FUNC LOCAL DEFAULT 12 ___Copy_conjoint[...]
 96350: 0076a729 16 FUNC LOCAL DEFAULT 12 ___Copy_disjoint[...]
 96354: 0076a739 16 FUNC LOCAL DEFAULT 12 ___Copy_conjoint[...]
 96362: 0076a759 16 FUNC LOCAL DEFAULT 12 ___Copy_conjoint[...]
 96657: 00000000 0 FUNC GLOBAL DEFAULT UND _Copy_conjoint_bytes

Rest of the copy routines are declared as LOCAL.

This is caused by the following upstream commit:
commit 76477f8cdbc012f7ff0670ad57067ebf304612a0
Author: Coleen Phillimore <email address hidden>
Date: Mon Jan 10 14:34:04 2022 +0000

    8142362: Lots of code duplication in Copy class

    Reviewed-by: kvn, hseigel

It removed the function implementation but left a declaration in src/hotspot/os_cpu/linux_arm/linux_arm_32.S
----
    .globl _Copy_conjoint_bytes
    .type _Copy_conjoint_bytes, %function
----