mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
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:
parent
241444ed3f
commit
22bf018812
8 changed files with 15 additions and 68 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue