mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
Merge
This commit is contained in:
commit
74c45d049e
21 changed files with 413 additions and 112 deletions
|
@ -99,9 +99,11 @@ class os: AllStatic {
|
|||
}
|
||||
|
||||
public:
|
||||
|
||||
static void init(void); // Called before command line parsing
|
||||
static jint init_2(void); // Called after command line parsing
|
||||
static void init_globals(void) { // Called from init_globals() in init.cpp
|
||||
init_globals_ext();
|
||||
}
|
||||
static void init_3(void); // Called at the end of vm init
|
||||
|
||||
// File names are case-insensitive on windows only
|
||||
|
@ -500,6 +502,7 @@ class os: AllStatic {
|
|||
|
||||
static void print_location(outputStream* st, intptr_t x, bool verbose = false);
|
||||
static size_t lasterror(char *buf, size_t len);
|
||||
static int get_last_error();
|
||||
|
||||
// Determines whether the calling process is being debugged by a user-mode debugger.
|
||||
static bool is_debugger_attached();
|
||||
|
@ -671,6 +674,11 @@ class os: AllStatic {
|
|||
// rest of line is skipped. Returns number of bytes read or -1 on EOF
|
||||
static int get_line_chars(int fd, char *buf, const size_t bsize);
|
||||
|
||||
// Extensions
|
||||
#include "runtime/os_ext.hpp"
|
||||
|
||||
public:
|
||||
|
||||
// Platform dependent stuff
|
||||
#ifdef TARGET_OS_FAMILY_linux
|
||||
# include "os_linux.hpp"
|
||||
|
@ -715,6 +723,7 @@ class os: AllStatic {
|
|||
# include "os_bsd_zero.hpp"
|
||||
#endif
|
||||
|
||||
public:
|
||||
// debugging support (mostly used by debug.cpp but also fatal error handler)
|
||||
static bool find(address pc, outputStream* st = tty); // OS specific function to make sense out of an address
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue