RFR(s): 8148239: TestSelectDefaultGC.java incorrectly expects G1 on non-server class machines

Kirill Zhaldybin kirill.zhaldybin at oracle.com
Mon Mar 14 11:49:02 UTC 2016


Per,

Looks great, but since you are ignoring externally specified GC may you 
could add @requires vm.gc=="null"?

Thank you.

Regards, Kirill

On 14.03.2016 14:06, Per Liden wrote:
> Hi,
>
> The TestSelectDefaultGC incorrectly assumes that "Server VM" means it's
> running on a server class machine. This patch removes that assumption
> and instead explicitly passes AlwaysActAsServerClassMachine and
> NeverActAsServerClassMachine to the VM to influence the machine type and
> in turn the default GC selection.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8148239
> Webrev: http://cr.openjdk.java.net/~pliden/8148239/webrev.0/
>
> thanks,
> Per




More information about the hotspot-gc-dev mailing list