8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file

Fri, 22 Apr 2016 13:08:42 +0200

author
gthornbr
date
Fri, 22 Apr 2016 13:08:42 +0200
changeset 8423
2988e5adeb8c
parent 8422
09687c445ce1
child 8424
2094cac55c59

8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
Reviewed-by: dcubed, dholmes
Contributed-by: james.cheng@oracle.com

src/os/posix/vm/os_posix.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/os/posix/vm/os_posix.cpp	Thu Apr 21 21:53:15 2016 +0530
     1.2 +++ b/src/os/posix/vm/os_posix.cpp	Fri Apr 22 13:08:42 2016 +0200
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 -* Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     1.6 +* Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -678,6 +678,21 @@
    1.11  #if defined(IA64) && !defined(AIX)
    1.12      { SIGSEGV, SEGV_PSTKOVF, "SEGV_PSTKOVF", "Paragraph stack overflow" },
    1.13  #endif
    1.14 +#if defined(__sparc) && defined(SOLARIS)
    1.15 +// define Solaris Sparc M7 ADI SEGV signals
    1.16 +#if !defined(SEGV_ACCADI)
    1.17 +#define SEGV_ACCADI 3
    1.18 +#endif
    1.19 +    { SIGSEGV, SEGV_ACCADI,  "SEGV_ACCADI",  "ADI not enabled for mapped object." },
    1.20 +#if !defined(SEGV_ACCDERR)
    1.21 +#define SEGV_ACCDERR 4
    1.22 +#endif
    1.23 +    { SIGSEGV, SEGV_ACCDERR, "SEGV_ACCDERR", "ADI disrupting exception." },
    1.24 +#if !defined(SEGV_ACCPERR)
    1.25 +#define SEGV_ACCPERR 5
    1.26 +#endif
    1.27 +    { SIGSEGV, SEGV_ACCPERR, "SEGV_ACCPERR", "ADI precise exception." },
    1.28 +#endif // defined(__sparc) && defined(SOLARIS)
    1.29      { SIGBUS,  BUS_ADRALN,   "BUS_ADRALN",   "Invalid address alignment." },
    1.30      { SIGBUS,  BUS_ADRERR,   "BUS_ADRERR",   "Nonexistent physical address." },
    1.31      { SIGBUS,  BUS_OBJERR,   "BUS_OBJERR",   "Object-specific hardware error." },

mercurial