Skip to content

Commit 014535b

Browse files
committed
8230564: Remove os_ext.hpp
Reviewed-by: coleenp, dholmes
1 parent 4db6ba1 commit 014535b

File tree

4 files changed

+0
-48
lines changed

4 files changed

+0
-48
lines changed

src/hotspot/share/runtime/init.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ void classLoader_init1();
6262
void compilationPolicy_init();
6363
void codeCache_init();
6464
void VM_Version_init();
65-
void os_init_globals(); // depends on VM_Version_init, before universe_init
6665
void stubRoutines_init1();
6766
jint universe_init(); // depends on codeCache_init and stubRoutines_init
6867
// depends on universe_init, must be before interpreter_init (currently only on SPARC)
@@ -114,7 +113,6 @@ jint init_globals() {
114113
compilationPolicy_init();
115114
codeCache_init();
116115
VM_Version_init();
117-
os_init_globals();
118116
stubRoutines_init1();
119117
jint status = universe_init(); // dependent on codeCache_init and
120118
// stubRoutines_init1 and metaspace_init.

src/hotspot/share/runtime/os.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@ static size_t cur_malloc_words = 0; // current size for MallocMaxTestWords
8888

8989
DEBUG_ONLY(bool os::_mutex_init_done = false;)
9090

91-
void os_init_globals() {
92-
// Called from init_globals().
93-
// See Threads::create_vm() in thread.cpp, and init.cpp.
94-
os::init_globals();
95-
}
96-
9791
static time_t get_timezone(const struct tm* time_struct) {
9892
#if defined(_ALLBSD_SOURCE)
9993
return time_struct->tm_gmtoff;

src/hotspot/share/runtime/os.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ class os: AllStatic {
167167
// before VM ergonomics processing.
168168
static jint init_2(void); // Called after command line parsing
169169
// and VM ergonomics processing
170-
static void init_globals(void) { // Called from init_globals() in init.cpp
171-
init_globals_ext();
172-
}
173170

174171
// unset environment variable
175172
static bool unsetenv(const char* name);
@@ -832,9 +829,6 @@ class os: AllStatic {
832829
// support for mapping non-volatile memory using MAP_SYNC
833830
static bool supports_map_sync();
834831

835-
// Extensions
836-
#include "runtime/os_ext.hpp"
837-
838832
public:
839833
class CrashProtectionCallback : public StackObj {
840834
public:

src/hotspot/share/runtime/os_ext.hpp

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)