RFR: 8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
kim.barrett at oracle.com
Wed Dec 10 20:05:43 UTC 2014
On Dec 3, 2014, at 8:34 AM, Michail Chernov <michail.chernov at oracle.com> wrote:
> Please review small fix for:
> Summary: CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.
In a recent webrev discussion thread I saw the statement:
Other similar tests that had the same problem has solved this by
adding -XX:-ExplicitGCInvokesConcurrent on the command line. My
fix here is the same.
If that is indeed the accepted approach, then CollectionUsageThreshold
should be changed in a similar manner, rather than using @requires.
[I think both approaches have pluses and minuses, but think I mildly
prefer the argument override approach rather than @requires for this.]
More information about the hotspot-gc-dev