1.1 --- a/test/gc/g1/TestRegionAlignment.java Wed Apr 22 05:05:49 2015 -0700 1.2 +++ b/test/gc/g1/TestRegionAlignment.java Thu Apr 23 15:59:48 2015 +0200 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -24,6 +24,7 @@ 1.11 /* 1.12 * @test TestRegionAlignment.java 1.13 * @bug 8013791 1.14 + * @requires vm.gc=="G1" | vm.gc=="null" 1.15 * @summary Make sure that G1 ergonomics pick a heap size that is aligned with the region size 1.16 * @run main/othervm -XX:+UseG1GC -XX:G1HeapRegionSize=32m -XX:MaxRAM=555m TestRegionAlignment 1.17 *