hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp
changeset 37430 fd743dadef12
parent 35201 996db89f378e
child 40010 e32d5e545789
equal deleted inserted replaced
37428:6e724f3d488b 37430:fd743dadef12
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
     3  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
   157   if (sig == SIGPIPE || sig == SIGXFSZ) {
   157   if (sig == SIGPIPE || sig == SIGXFSZ) {
   158     // allow chained handler to go first
   158     // allow chained handler to go first
   159     if (os::Bsd::chained_handler(sig, info, ucVoid)) {
   159     if (os::Bsd::chained_handler(sig, info, ucVoid)) {
   160       return true;
   160       return true;
   161     } else {
   161     } else {
   162       if (PrintMiscellaneous && (WizardMode || Verbose)) {
   162       // Ignoring SIGPIPE/SIGXFSZ - see bugs 4229104 or 6499219
   163         char buf[64];
       
   164         warning("Ignoring %s - see bugs 4229104 or 646499219",
       
   165                 os::exception_name(sig, buf, sizeof(buf)));
       
   166       }
       
   167       return true;
   163       return true;
   168     }
   164     }
   169   }
   165   }
   170 
   166 
   171   JavaThread* thread = NULL;
   167   JavaThread* thread = NULL;