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

Bengt Rutisson bengt.rutisson at oracle.com
Mon Mar 14 11:59:56 UTC 2016


Hi Per,

On 2016-03-14 12: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/

This looks good to me (modulo the copyright fix that Kirill pointed out).

Thanks,
Bengt

>
> thanks,
> Per



More information about the hotspot-gc-dev mailing list