RFR: 8276901: Implement UseHeavyMonitors consistently [v3]

David Holmes dholmes at openjdk.java.net
Thu Nov 18 06:50:40 UTC 2021


On Wed, 17 Nov 2021 16:59:22 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add run configuration using -XX:+UseHeavyMonitors to MapLoops test
>
> test/jdk/java/util/concurrent/ConcurrentHashMap/MapLoops.java line 52:
> 
>> 50:  * @summary Exercise multithreaded maps, using only heavy monitors.
>> 51:  * @library /test/lib
>> 52:  * @run main/othervm/timeout=1600 -XX:+IgnoreUnrecognizedVMOptions -XX:+UseHeavyMonitors MapLoops
> 
> Did you want to also add -XX:+VerifyHeavyMonitors to this test?

If UseHeavyMonitors only works properly on x86_64 you will need an `@requires` to restrict this test run to that platform.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6320


More information about the hotspot-compiler-dev mailing list