src/hotspot/os/posix/vmError_posix.cpp
author iklam
Tue, 16 Jan 2018 16:57:53 -0800
changeset 48794 ea0d0781c63c
parent 47216 71c04702a3d5
child 49653 a569cb4425f3
permissions -rw-r--r--
8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared Summary: Use a single range check with MetaspaceObj::_shared_metaspace_{base,top} Reviewed-by: jiangli, redestad, shade
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     1
/*
48794
ea0d0781c63c 8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared
iklam
parents: 47216
diff changeset
     2
 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     4
 *
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     7
 * published by the Free Software Foundation.
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     8
 *
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    13
 * accompanied this code).
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    14
 *
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    18
 *
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    21
 * questions.
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    22
 *
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    23
 */
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    24
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    25
#include "precompiled.hpp"
48794
ea0d0781c63c 8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared
iklam
parents: 47216
diff changeset
    26
#include "memory/metaspaceShared.hpp"
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    27
#include "runtime/arguments.hpp"
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    28
#include "runtime/os.hpp"
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    29
#include "runtime/thread.hpp"
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    30
#include "utilities/vmError.hpp"
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    31
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    32
#include <sys/types.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    33
#include <sys/wait.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    34
#include <signal.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    35
40010
e32d5e545789 8161258: Simplify including platform files.
goetz
parents: 35176
diff changeset
    36
#ifdef LINUX
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    37
#include <sys/syscall.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    38
#include <unistd.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    39
#endif
40010
e32d5e545789 8161258: Simplify including platform files.
goetz
parents: 35176
diff changeset
    40
#ifdef SOLARIS
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    41
#include <thread.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    42
#endif
40010
e32d5e545789 8161258: Simplify including platform files.
goetz
parents: 35176
diff changeset
    43
#ifdef AIX
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    44
#include <unistd.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    45
#endif
40010
e32d5e545789 8161258: Simplify including platform files.
goetz
parents: 35176
diff changeset
    46
#ifdef BSD
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    47
#include <sys/syscall.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    48
#include <unistd.h>
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    49
#endif
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    50
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    51
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    52
// handle all synchronous program error signals which may happen during error
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    53
// reporting. They must be unblocked, caught, handled.
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    54
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    55
static const int SIGNALS[] = { SIGSEGV, SIGBUS, SIGILL, SIGFPE, SIGTRAP }; // add more if needed
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    56
static const int NUM_SIGNALS = sizeof(SIGNALS) / sizeof(int);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    57
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    58
// Space for our "saved" signal flags and handlers
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    59
static int resettedSigflags[NUM_SIGNALS];
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    60
static address resettedSighandler[NUM_SIGNALS];
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    61
46284
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    62
// Needed for cancelable steps.
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    63
static volatile pthread_t reporter_thread_id;
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    64
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    65
void VMError::reporting_started() {
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    66
  // record pthread id of reporter thread.
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    67
  reporter_thread_id = ::pthread_self();
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    68
}
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    69
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    70
void VMError::interrupt_reporting_thread() {
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    71
  // We misuse SIGILL here, but it does not really matter. We need
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    72
  //  a signal which is handled by crash_handler and not likely to
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    73
  //  occurr during error reporting itself.
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    74
  ::pthread_kill(reporter_thread_id, SIGILL);
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    75
}
ad578adff5df 8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents: 40010
diff changeset
    76
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    77
static void save_signal(int idx, int sig)
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    78
{
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    79
  struct sigaction sa;
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    80
  sigaction(sig, NULL, &sa);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    81
  resettedSigflags[idx]   = sa.sa_flags;
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    82
  resettedSighandler[idx] = (sa.sa_flags & SA_SIGINFO)
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    83
                              ? CAST_FROM_FN_PTR(address, sa.sa_sigaction)
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    84
                              : CAST_FROM_FN_PTR(address, sa.sa_handler);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    85
}
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    86
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    87
int VMError::get_resetted_sigflags(int sig) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    88
  for (int i = 0; i < NUM_SIGNALS; i++) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    89
    if (SIGNALS[i] == sig) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    90
      return resettedSigflags[i];
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    91
    }
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    92
  }
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    93
  return -1;
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    94
}
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    95
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    96
address VMError::get_resetted_sighandler(int sig) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    97
  for (int i = 0; i < NUM_SIGNALS; i++) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    98
    if (SIGNALS[i] == sig) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
    99
      return resettedSighandler[i];
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   100
    }
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   101
  }
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   102
  return NULL;
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   103
}
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   104
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   105
static void crash_handler(int sig, siginfo_t* info, void* ucVoid) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   106
  // unmask current signal
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   107
  sigset_t newset;
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   108
  sigemptyset(&newset);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   109
  sigaddset(&newset, sig);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   110
  // also unmask other synchronous signals
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   111
  for (int i = 0; i < NUM_SIGNALS; i++) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   112
    sigaddset(&newset, SIGNALS[i]);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   113
  }
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   114
  os::Posix::unblock_thread_signal_mask(&newset);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   115
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   116
  // support safefetch faults in error handling
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   117
  ucontext_t* const uc = (ucontext_t*) ucVoid;
46361
b4c026dd6128 8176872: [s390] wrong pc shown in error logs
stuefe
parents: 46284
diff changeset
   118
  address pc = (uc != NULL) ? os::Posix::ucontext_get_pc(uc) : NULL;
b4c026dd6128 8176872: [s390] wrong pc shown in error logs
stuefe
parents: 46284
diff changeset
   119
b4c026dd6128 8176872: [s390] wrong pc shown in error logs
stuefe
parents: 46284
diff changeset
   120
  // Correct pc for SIGILL, SIGFPE (see JDK-8176872)
b4c026dd6128 8176872: [s390] wrong pc shown in error logs
stuefe
parents: 46284
diff changeset
   121
  if (sig == SIGILL || sig == SIGFPE) {
b4c026dd6128 8176872: [s390] wrong pc shown in error logs
stuefe
parents: 46284
diff changeset
   122
    pc = (address) info->si_addr;
b4c026dd6128 8176872: [s390] wrong pc shown in error logs
stuefe
parents: 46284
diff changeset
   123
  }
34305
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   124
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   125
  if (uc && pc && StubRoutines::is_safefetch_fault(pc)) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   126
    os::Posix::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc));
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   127
    return;
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   128
  }
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   129
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   130
  VMError::report_and_die(NULL, sig, pc, info, ucVoid);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   131
}
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   132
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   133
void VMError::reset_signal_handlers() {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   134
  // install signal handlers for all synchronous program error signals
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   135
  sigset_t newset;
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   136
  sigemptyset(&newset);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   137
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   138
  for (int i = 0; i < NUM_SIGNALS; i++) {
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   139
    save_signal(i, SIGNALS[i]);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   140
    os::signal(SIGNALS[i], CAST_FROM_FN_PTR(void *, crash_handler));
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   141
    sigaddset(&newset, SIGNALS[i]);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   142
  }
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   143
  os::Posix::unblock_thread_signal_mask(&newset);
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   144
e399e6b44631 8136978: Much nearly duplicated code for vmError support
sebastian
parents:
diff changeset
   145
}
35176
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   146
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   147
// Write a hint to the stream in case siginfo relates to a segv/bus error
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   148
// and the offending address points into CDS archive.
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   149
void VMError::check_failing_cds_access(outputStream* st, const void* siginfo) {
46689
59f0972cf342 8184323: compile-time guard some UseSharedSpaces-only coding with the INCLUDE_CDS macro
mbaesken
parents: 46361
diff changeset
   150
#if INCLUDE_CDS
35176
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   151
  if (siginfo && UseSharedSpaces) {
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   152
    const siginfo_t* const si = (siginfo_t*)siginfo;
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   153
    if (si->si_signo == SIGBUS || si->si_signo == SIGSEGV) {
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   154
      const void* const fault_addr = si->si_addr;
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   155
      if (fault_addr != NULL) {
48794
ea0d0781c63c 8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared
iklam
parents: 47216
diff changeset
   156
        if (MetaspaceShared::is_in_shared_metaspace(fault_addr)) {
35176
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   157
          st->print("Error accessing class data sharing archive. "
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   158
            "Mapped file inaccessible during execution, possible disk/network problem.");
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   159
        }
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   160
      }
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   161
    }
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   162
  }
46689
59f0972cf342 8184323: compile-time guard some UseSharedSpaces-only coding with the INCLUDE_CDS macro
mbaesken
parents: 46361
diff changeset
   163
#endif
35176
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   164
}
11a9d4022d9e 8144219: [posix] Remove redundant code around os::print_siginfo()
stuefe
parents: 34305
diff changeset
   165