src/hotspot/share/runtime/java.hpp
changeset 54795 fd08f5a976e6
parent 53244 9807daeb47c4
child 58842 6c255334120d
--- a/src/hotspot/share/runtime/java.hpp	Thu May 09 12:56:15 2019 -0400
+++ b/src/hotspot/share/runtime/java.hpp	Thu May 09 12:04:20 2019 -0500
@@ -74,9 +74,6 @@
   uint8_t _patch;
   uint8_t _build;
 
-  bool _thread_park_blocker;
-  bool _post_vm_init_hook_enabled;
-
   bool is_valid() const {
     return (_major != 0);
   }
@@ -86,16 +83,13 @@
 
  public:
 
-  JDK_Version() : _major(0), _minor(0), _security(0), _patch(0), _build(0),
-                  _thread_park_blocker(false), _post_vm_init_hook_enabled(false)
-                  {}
+  JDK_Version() :
+      _major(0), _minor(0), _security(0), _patch(0), _build(0)
+      {}
 
   JDK_Version(uint8_t major, uint8_t minor = 0, uint8_t security = 0,
-              uint8_t patch = 0, uint8_t build = 0,
-              bool thread_park_blocker = false, bool post_vm_init_hook_enabled = false) :
-      _major(major), _minor(minor), _security(security), _patch(patch), _build(build),
-      _thread_park_blocker(thread_park_blocker),
-      _post_vm_init_hook_enabled(post_vm_init_hook_enabled)
+              uint8_t patch = 0, uint8_t build = 0) :
+      _major(major), _minor(minor), _security(security), _patch(patch), _build(build)
       {}
 
   // Returns the current running JDK version
@@ -120,13 +114,6 @@
   uint8_t patch_version() const          { return _patch; }
   uint8_t build_number() const           { return _build; }
 
-  bool supports_thread_park_blocker() const {
-    return _thread_park_blocker;
-  }
-  bool post_vm_init_hook_enabled() const {
-    return _post_vm_init_hook_enabled;
-  }
-
   // Performs a full ordering comparison using all fields (patch, build, etc.)
   int compare(const JDK_Version& other) const;