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
sjohanss@7131 | 1 | /* |
sjohanss@7131 | 2 | * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. |
sjohanss@7131 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
sjohanss@7131 | 4 | * |
sjohanss@7131 | 5 | * This code is free software; you can redistribute it and/or modify it |
sjohanss@7131 | 6 | * under the terms of the GNU General Public License version 2 only, as |
sjohanss@7131 | 7 | * published by the Free Software Foundation. |
sjohanss@7131 | 8 | * |
sjohanss@7131 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
sjohanss@7131 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
sjohanss@7131 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
sjohanss@7131 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
sjohanss@7131 | 13 | * accompanied this code). |
sjohanss@7131 | 14 | * |
sjohanss@7131 | 15 | * You should have received a copy of the GNU General Public License version |
sjohanss@7131 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
sjohanss@7131 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
sjohanss@7131 | 18 | * |
sjohanss@7131 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
sjohanss@7131 | 20 | * or visit www.oracle.com if you need additional information or have any |
sjohanss@7131 | 21 | * questions. |
sjohanss@7131 | 22 | * |
sjohanss@7131 | 23 | */ |
sjohanss@7131 | 24 | |
sjohanss@7131 | 25 | #include "precompiled.hpp" |
sjohanss@7131 | 26 | #include "gc_implementation/g1/g1MarkSweep.hpp" |
sjohanss@7131 | 27 | |
sjohanss@7131 | 28 | void G1MarkSweep::prepare_compaction() { |
sjohanss@7131 | 29 | G1PrepareCompactClosure blk; |
sjohanss@7131 | 30 | G1MarkSweep::prepare_compaction_work(&blk); |
sjohanss@7131 | 31 | } |