RFR (M): 8050486: compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization
filipp.zhinkin at oracle.com
Mon Dec 29 16:35:26 UTC 2014
please review a fix for JDK-8050486.
Following issues cause compiler/rtm/ tests failures
when safepoint sync happened in the middle of test run:
- monitors that expected to be inflated are deflated;
- monitors that expected to be lightweight stack-locks are inflated.
In order to solve the first issue inflation-forcing algorithm
was modified to wait forever on a monitor that should be inflated.
The second issue is resolved by explicit monitor state checks that
force deflation in case when monitor is inflated, but it should not.
This fix depends on 8068272:
Bug id: https://bugs.openjdk.java.net/browse/JDK-8050486
Testing: on host w/ HSW CPU, JPRT, automated on hosts w/ HSW CPU.
More information about the hotspot-compiler-dev