hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap_ext.cpp
author jcoomes
Wed, 10 Sep 2014 13:01:13 -0700
changeset 26842 5081db39f634
child 27623 3f190bd7182f
permissions -rw-r--r--
8057824: methods to copy allocation context statistics Reviewed-by: mikael, jmasa, tschatzl
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26842
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     1
/*
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     2
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     4
 *
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     7
 * published by the Free Software Foundation.
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     8
 *
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    13
 * accompanied this code).
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    14
 *
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    18
 *
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    21
 * questions.
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    22
 *
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    23
 */
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    24
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    25
#include "precompiled.hpp"
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    26
#include "gc_implementation/g1/g1CollectedHeap.hpp"
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    27
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    28
void G1CollectedHeap::copy_allocation_context_stats(const jint* contexts,
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    29
                                                    jlong* totals,
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    30
                                                    jbyte* accuracy,
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    31
                                                    jint len) {
5081db39f634 8057824: methods to copy allocation context statistics
jcoomes
parents:
diff changeset
    32
}