Mercurial > hg > truffle
comparison src/share/vm/services/threadService.cpp @ 242:d95b224e9f17
6721093: -XX:AppendRatio=N not supported
Summary: Add mechanism to ignore unsupported flags for a set period of time
Reviewed-by: acorn, never, coleenp
author | kamg |
---|---|
date | Mon, 28 Jul 2008 14:07:44 -0400 |
parents | d1605aabd0a1 |
children | 6a93908f268f |
comparison
equal
deleted
inserted
replaced
237:1fdb98a17101 | 242:d95b224e9f17 |
---|---|
742 } | 742 } |
743 } | 743 } |
744 } | 744 } |
745 | 745 |
746 // Support for JSR-166 locks | 746 // Support for JSR-166 locks |
747 if (JDK_Version::supports_thread_park_blocker() && | 747 if (JDK_Version::current().supports_thread_park_blocker() && |
748 (_thread_status == java_lang_Thread::PARKED || | 748 (_thread_status == java_lang_Thread::PARKED || |
749 _thread_status == java_lang_Thread::PARKED_TIMED)) { | 749 _thread_status == java_lang_Thread::PARKED_TIMED)) { |
750 | 750 |
751 _blocker_object = thread->current_park_blocker(); | 751 _blocker_object = thread->current_park_blocker(); |
752 if (_blocker_object != NULL && _blocker_object->is_a(SystemDictionary::abstract_ownable_synchronizer_klass())) { | 752 if (_blocker_object != NULL && _blocker_object->is_a(SystemDictionary::abstract_ownable_synchronizer_klass())) { |