@@ -461,26 +461,17 @@ bool os::Linux::get_tick_information(CPUPerfTicks* pticks, int which_logical_cpu
461
461
}
462
462
463
463
#ifndef SYS_gettid
464
- // i386: 224, ia64: 1105, amd64: 186, sparc: 143
465
- #ifdef __ia64__
466
- #define SYS_gettid 1105
464
+ // i386: 224, amd64: 186, sparc: 143
465
+ #if defined(__i386__)
466
+ #define SYS_gettid 224
467
+ #elif defined(__amd64__)
468
+ #define SYS_gettid 186
469
+ #elif defined(__sparc__)
470
+ #define SYS_gettid 143
467
471
#else
468
- #ifdef __i386__
469
- #define SYS_gettid 224
470
- #else
471
- #ifdef __amd64__
472
- #define SYS_gettid 186
473
- #else
474
- #ifdef __sparc__
475
- #define SYS_gettid 143
476
- #else
477
- #error define gettid for the arch
478
- #endif
479
- #endif
480
- #endif
472
+ #error "Define SYS_gettid for this architecture"
481
473
#endif
482
- #endif
483
-
474
+ #endif // SYS_gettid
484
475
485
476
// pid_t gettid()
486
477
//
@@ -1778,8 +1769,6 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
1778
1769
static Elf32_Half running_arch_code=EM_386;
1779
1770
#elif (defined AMD64) || (defined X32)
1780
1771
static Elf32_Half running_arch_code=EM_X86_64;
1781
- #elif (defined IA64)
1782
- static Elf32_Half running_arch_code=EM_IA_64;
1783
1772
#elif (defined __sparc) && (defined _LP64)
1784
1773
static Elf32_Half running_arch_code=EM_SPARCV9;
1785
1774
#elif (defined __sparc) && (!defined _LP64)
@@ -1812,7 +1801,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
1812
1801
static Elf32_Half running_arch_code=EM_LOONGARCH;
1813
1802
#else
1814
1803
#error Method os::dll_load requires that one of following is defined:\
1815
- AARCH64, ALPHA, ARM, AMD64, IA32, IA64, LOONGARCH64, M68K, MIPS, MIPSEL, PARISC, __powerpc__, __powerpc64__, RISCV, S390, SH, __sparc
1804
+ AARCH64, ALPHA, ARM, AMD64, IA32, LOONGARCH64, M68K, MIPS, MIPSEL, PARISC, __powerpc__, __powerpc64__, RISCV, S390, SH, __sparc
1816
1805
#endif
1817
1806
1818
1807
// Identify compatibility class for VM's architecture and library's architecture
@@ -2719,8 +2708,6 @@ void os::get_summary_cpu_info(char* cpuinfo, size_t length) {
2719
2708
strncpy (cpuinfo, " ARM" , length);
2720
2709
#elif defined(IA32)
2721
2710
strncpy (cpuinfo, " x86_32" , length);
2722
- #elif defined(IA64)
2723
- strncpy (cpuinfo, " IA64" , length);
2724
2711
#elif defined(PPC)
2725
2712
strncpy (cpuinfo, " PPC64" , length);
2726
2713
#elif defined(RISCV)
0 commit comments