Skip to content

Commit dc9aebd

Browse files
author
duke
committed
Backport 1b3889a47092e018ab9ecb6aaa922046d8d0e916
1 parent 796f2b4 commit dc9aebd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/hotspot/os/linux/os_linux.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,11 @@ bool os::Linux::get_tick_information(CPUPerfTicks* pticks, int which_logical_cpu
478478
}
479479

480480
#ifndef SYS_gettid
481-
// i386: 224, amd64: 186, sparc: 143
481+
// i386: 224, amd64: 186
482482
#if defined(__i386__)
483483
#define SYS_gettid 224
484484
#elif defined(__amd64__)
485485
#define SYS_gettid 186
486-
#elif defined(__sparc__)
487-
#define SYS_gettid 143
488486
#else
489487
#error "Define SYS_gettid for this architecture"
490488
#endif
@@ -2724,8 +2722,6 @@ const char* search_string = "CPU";
27242722
const char* search_string = "cpu";
27252723
#elif defined(S390)
27262724
const char* search_string = "machine =";
2727-
#elif defined(SPARC)
2728-
const char* search_string = "cpu";
27292725
#else
27302726
const char* search_string = "Processor";
27312727
#endif
@@ -2777,8 +2773,6 @@ void os::get_summary_cpu_info(char* cpuinfo, size_t length) {
27772773
strncpy(cpuinfo, LP64_ONLY("RISCV64") NOT_LP64("RISCV32"), length);
27782774
#elif defined(S390)
27792775
strncpy(cpuinfo, "S390", length);
2780-
#elif defined(SPARC)
2781-
strncpy(cpuinfo, "sparcv9", length);
27822776
#elif defined(ZERO_LIBARCH)
27832777
strncpy(cpuinfo, ZERO_LIBARCH, length);
27842778
#else

0 commit comments

Comments
 (0)