8180175: ObjectSynchronizer only needs to iterate in-use monitors
Summary: When using -XX:+MonitorInUseLists, then only iterate in-use monitors.
Reviewed-by: zgu, dholmes, rehn
<component name="CopyrightManager">
<settings default="langtools">
<LanguageOptions name="JAVA">
<option name="fileLocation" value="1" />
</LanguageOptions>
</settings>
</component>