Skip to content

Commit

Permalink
8261652: Remove some dead comments from os_bsd_x86
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kempik committed Feb 12, 2021
1 parent 40ae993 commit b4983bd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp
Expand Up @@ -64,7 +64,6 @@
# include <stdio.h>
# include <unistd.h>
# include <sys/resource.h>
# include <pthread.h>
# include <sys/stat.h>
# include <sys/time.h>
# include <sys/utsname.h>
Expand Down Expand Up @@ -391,16 +390,6 @@ enum {

bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
ucontext_t* uc, JavaThread* thread) {

/*
NOTE: does not seem to work on bsd.
if (info == NULL || info->si_code <= 0 || info->si_code == SI_NOINFO) {
// can't decode this kind of signal
info = NULL;
} else {
assert(sig == info->si_signo, "bad siginfo");
}
*/
// decide if this trap can be handled by a stub
address stub = NULL;

Expand Down

0 comments on commit b4983bd

Please sign in to comment.