8189208: Cleanup ancient argument processing code

Remove bits thread_park_blocker, post_vm_init_hook_enabled and pending_list_uses_discovered_fields

Reviewed-by: hseigel, dholmes
This commit is contained in:
Gerard Ziemski 2019-05-09 12:04:20 -05:00
parent 241444ed3f
commit 22bf018812
8 changed files with 15 additions and 68 deletions

View file

@ -893,10 +893,7 @@ void ThreadSnapshot::initialize(ThreadsList * t_list, JavaThread* thread) {
}
// Support for JSR-166 locks
if (JDK_Version::current().supports_thread_park_blocker() &&
(_thread_status == java_lang_Thread::PARKED ||
_thread_status == java_lang_Thread::PARKED_TIMED)) {
if (_thread_status == java_lang_Thread::PARKED || _thread_status == java_lang_Thread::PARKED_TIMED) {
_blocker_object = thread->current_park_blocker();
if (_blocker_object != NULL && _blocker_object->is_a(SystemDictionary::java_util_concurrent_locks_AbstractOwnableSynchronizer_klass())) {
_blocker_object_owner = java_util_concurrent_locks_AbstractOwnableSynchronizer::get_owner_threadObj(_blocker_object);