Mercurial > hg > graal-jvmci-8
comparison test/gc/g1/TestRegionAlignment.java @ 22981:f967da7f0c3c
8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: tschatzl, jwilhelm
author | jwilhelm |
---|---|
date | Thu, 23 Apr 2015 15:59:48 +0200 |
parents | f14063dcd52a |
children |
comparison
equal
deleted
inserted
replaced
22980:974d7f3df726 | 22981:f967da7f0c3c |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
22 */ | 22 */ |
23 | 23 |
24 /* | 24 /* |
25 * @test TestRegionAlignment.java | 25 * @test TestRegionAlignment.java |
26 * @bug 8013791 | 26 * @bug 8013791 |
27 * @requires vm.gc=="G1" | vm.gc=="null" | |
27 * @summary Make sure that G1 ergonomics pick a heap size that is aligned with the region size | 28 * @summary Make sure that G1 ergonomics pick a heap size that is aligned with the region size |
28 * @run main/othervm -XX:+UseG1GC -XX:G1HeapRegionSize=32m -XX:MaxRAM=555m TestRegionAlignment | 29 * @run main/othervm -XX:+UseG1GC -XX:G1HeapRegionSize=32m -XX:MaxRAM=555m TestRegionAlignment |
29 * | 30 * |
30 * When G1 ergonomically picks a maximum heap size it must be aligned to the region size. | 31 * When G1 ergonomically picks a maximum heap size it must be aligned to the region size. |
31 * This test tries to get the VM to pick a small and unaligned heap size (by using MaxRAM=555) and a | 32 * This test tries to get the VM to pick a small and unaligned heap size (by using MaxRAM=555) and a |