src/share/vm/gc_implementation/g1/g1CollectedHeap_ext.cpp

Tue, 31 Mar 2015 11:36:37 +0200

author
tschatzl
date
Tue, 31 Mar 2015 11:36:37 +0200
changeset 7673
c04f46b4abe4
parent 7298
ef9eda2c1abe
permissions
-rw-r--r--

8068036: assert(is_available(index)) failed in G1 cset
Summary: Some verification code iterated over the heap using the region mapping array. This is not allowed. Changed to use the regular iteration method with closure.
Reviewed-by: jwilhelm, brutisso

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

mercurial