Tue, 19 May 2015 15:49:27 +0200
8061715: gc/g1/TestShrinkAuxiliaryData15.java fails with java.lang.RuntimeException: heap decommit failed - after > before
Summary: added WhiteBox methods to count regions and exact aux data sizes
Reviewed-by: jwilhelm, brutisso
jwilhelm@7369 | 1 | /* |
jwilhelm@7369 | 2 | * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
jwilhelm@7369 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jwilhelm@7369 | 4 | * |
jwilhelm@7369 | 5 | * This code is free software; you can redistribute it and/or modify it |
jwilhelm@7369 | 6 | * under the terms of the GNU General Public License version 2 only, as |
jwilhelm@7369 | 7 | * published by the Free Software Foundation. |
jwilhelm@7369 | 8 | * |
jwilhelm@7369 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
jwilhelm@7369 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jwilhelm@7369 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jwilhelm@7369 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
jwilhelm@7369 | 13 | * accompanied this code). |
jwilhelm@7369 | 14 | * |
jwilhelm@7369 | 15 | * You should have received a copy of the GNU General Public License version |
jwilhelm@7369 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
jwilhelm@7369 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jwilhelm@7369 | 18 | * |
jwilhelm@7369 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jwilhelm@7369 | 20 | * or visit www.oracle.com if you need additional information or have any |
jwilhelm@7369 | 21 | * questions. |
jwilhelm@7369 | 22 | * |
jwilhelm@7369 | 23 | */ |
jwilhelm@7369 | 24 | |
jwilhelm@7369 | 25 | #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_EXT_HPP |
jwilhelm@7369 | 26 | #define SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_EXT_HPP |
jwilhelm@7369 | 27 | |
jwilhelm@7369 | 28 | #include "gc_implementation/g1/g1CollectorPolicy.hpp" |
jwilhelm@7369 | 29 | |
jwilhelm@7369 | 30 | class G1CollectorPolicyExt : public G1CollectorPolicy { }; |
jwilhelm@7369 | 31 | |
jwilhelm@7369 | 32 | #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTORPOLICY_EXT_HPP |