Skip to content

Commit

Permalink
8301337: Remove unused os::_polling_page
Browse files Browse the repository at this point in the history
Reviewed-by: coleenp, dnsimon
  • Loading branch information
robehn committed Jan 31, 2023
1 parent d583767 commit 419409b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/share/jvmci/vmStructs_jvmci.cpp
Expand Up @@ -270,8 +270,6 @@
volatile_nonstatic_field(oopDesc, _mark, markWord) \
volatile_nonstatic_field(oopDesc, _metadata._klass, Klass*) \
\
static_field(os, _polling_page, address) \
\
static_field(StubRoutines, _verify_oop_count, jint) \
\
static_field(StubRoutines, _throw_delayed_StackOverflowError_entry, address) \
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/share/runtime/os.cpp
Expand Up @@ -81,7 +81,6 @@
# include <errno.h>

OSThread* os::_starting_thread = nullptr;
address os::_polling_page = nullptr;
volatile unsigned int os::_rand_seed = 1234567;
int os::_processor_count = 0;
int os::_initial_active_processor_count = 0;
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/share/runtime/os.hpp
Expand Up @@ -188,7 +188,6 @@ class os: AllStatic {

private:
static OSThread* _starting_thread;
static address _polling_page;
static PageSizes _page_sizes;

static char* pd_reserve_memory(size_t bytes, bool executable);
Expand Down
6 changes: 0 additions & 6 deletions src/hotspot/share/runtime/vmStructs.cpp
Expand Up @@ -380,12 +380,6 @@
static_field(CompressedKlassPointers, _narrow_klass._base, address) \
static_field(CompressedKlassPointers, _narrow_klass._shift, int) \
\
/******/ \
/* os */ \
/******/ \
\
static_field(os, _polling_page, address) \
\
/**********/ \
/* Memory */ \
/**********/ \
Expand Down

1 comment on commit 419409b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.