Mercurial > hg > truffle
diff src/os/posix/vm/os_posix.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | abec000618bf |
children | 89152779163c |
line wrap: on
line diff
--- a/src/os/posix/vm/os_posix.hpp Tue Apr 01 14:09:03 2014 +0200 +++ b/src/os/posix/vm/os_posix.hpp Tue Apr 01 13:57:07 2014 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,30 +34,6 @@ static void print_libversion_info(outputStream* st); static void print_load_average(outputStream* st); -public: - - // Returns true if signal is valid. - static bool is_valid_signal(int sig); - - // Helper function, returns a string (e.g. "SIGILL") for a signal. - // Returned string is a constant. For unknown signals "UNKNOWN" is returned. - static const char* get_signal_name(int sig, char* out, size_t outlen); - - // Returns one-line short description of a signal set in a user provided buffer. - static const char* describe_signal_set_short(const sigset_t* set, char* buffer, size_t size); - - // Prints a short one-line description of a signal set. - static void print_signal_set_short(outputStream* st, const sigset_t* set); - - // Writes a one-line description of a combination of sigaction.sa_flags - // into a user provided buffer. Returns that buffer. - static const char* describe_sa_flags(int flags, char* buffer, size_t size); - - // Prints a one-line description of a combination of sigaction.sa_flags. - static void print_sa_flags(outputStream* st, int flags); - - // A POSIX conform, platform-independend siginfo print routine. - static void print_siginfo_brief(outputStream* os, const siginfo_t* si); }; @@ -81,4 +57,4 @@ sigjmp_buf _jmpbuf; }; -#endif // OS_POSIX_VM_OS_POSIX_HPP +#endif