Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit 28163a9

Browse files
author
Vladimir Kempik
committedFeb 12, 2021
8261652: Remove some dead comments from os_bsd_x86
Reviewed-by: dcubed
1 parent 6675775 commit 28163a9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
 

‎src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp

-11
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
# include <stdio.h>
6565
# include <unistd.h>
6666
# include <sys/resource.h>
67-
# include <pthread.h>
6867
# include <sys/stat.h>
6968
# include <sys/time.h>
7069
# include <sys/utsname.h>
@@ -391,16 +390,6 @@ enum {
391390

392391
bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
393392
ucontext_t* uc, JavaThread* thread) {
394-
395-
/*
396-
NOTE: does not seem to work on bsd.
397-
if (info == NULL || info->si_code <= 0 || info->si_code == SI_NOINFO) {
398-
// can't decode this kind of signal
399-
info = NULL;
400-
} else {
401-
assert(sig == info->si_signo, "bad siginfo");
402-
}
403-
*/
404393
// decide if this trap can be handled by a stub
405394
address stub = NULL;
406395

0 commit comments

Comments
 (0)