hotspot/src/share/vm/gc_implementation/g1/g1BiasedArray.cpp
author drchase
Fri, 09 May 2014 16:50:54 -0400
changeset 24424 2658d7834c6e
parent 23458 947a3d680f3e
permissions -rw-r--r--
8037816: Fix for 8036122 breaks build with Xcode5/clang Summary: Repaired or selectively disabled offending formats; future-proofed with additional checking Reviewed-by: kvn, jrose, stefank
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20083
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     1
/*
24424
2658d7834c6e 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 23458
diff changeset
     2
 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
20083
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     4
 *
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     7
 * published by the Free Software Foundation.
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     8
 *
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    13
 * accompanied this code).
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    14
 *
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    18
 *
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    21
 * questions.
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    22
 *
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    23
 */
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    24
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    25
#include "precompiled.hpp"
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    26
#include "gc_implementation/g1/g1BiasedArray.hpp"
23458
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    27
#include "memory/padded.inline.hpp"
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    28
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    29
// Allocate a new array, generic version.
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    30
address G1BiasedMappedArrayBase::create_new_base_array(size_t length, size_t elem_size) {
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    31
  assert(length > 0, "just checking");
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    32
  assert(elem_size > 0, "just checking");
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    33
  return PaddedPrimitiveArray<u_char, mtGC>::create_unfreeable(length * elem_size);
947a3d680f3e 8036860: Pad and cache-align the BiasedMappedArray
tschatzl
parents: 20083
diff changeset
    34
}
20083
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    35
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    36
#ifndef PRODUCT
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    37
void G1BiasedMappedArrayBase::verify_index(idx_t index) const {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    38
  guarantee(_base != NULL, "Array not initialized");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    39
  guarantee(index < length(), err_msg("Index out of bounds index: "SIZE_FORMAT" length: "SIZE_FORMAT, index, length()));
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    40
}
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    41
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    42
void G1BiasedMappedArrayBase::verify_biased_index(idx_t biased_index) const {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    43
  guarantee(_biased_base != NULL, "Array not initialized");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    44
  guarantee(biased_index >= bias() && biased_index < (bias() + length()),
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    45
    err_msg("Biased index out of bounds, index: "SIZE_FORMAT" bias: "SIZE_FORMAT" length: "SIZE_FORMAT, biased_index, bias(), length()));
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    46
}
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    47
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    48
void G1BiasedMappedArrayBase::verify_biased_index_inclusive_end(idx_t biased_index) const {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    49
  guarantee(_biased_base != NULL, "Array not initialized");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    50
  guarantee(biased_index >= bias() && biased_index <= (bias() + length()),
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    51
    err_msg("Biased index out of inclusive bounds, index: "SIZE_FORMAT" bias: "SIZE_FORMAT" length: "SIZE_FORMAT, biased_index, bias(), length()));
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    52
}
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    53
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    54
class TestMappedArray : public G1BiasedMappedArray<int> {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    55
protected:
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    56
  virtual int default_value() const { return 0xBAADBABE; }
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    57
public:
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    58
  static void test_biasedarray() {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    59
    const size_t REGION_SIZE_IN_WORDS = 512;
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    60
    const size_t NUM_REGIONS = 20;
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    61
    HeapWord* fake_heap = (HeapWord*)LP64_ONLY(0xBAAA00000) NOT_LP64(0xBA000000); // Any value that is non-zero
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    62
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    63
    TestMappedArray array;
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    64
    array.initialize(fake_heap, fake_heap + REGION_SIZE_IN_WORDS * NUM_REGIONS,
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    65
            REGION_SIZE_IN_WORDS * HeapWordSize);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    66
    // Check address calculation (bounds)
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    67
    assert(array.bottom_address_mapped() == fake_heap,
24424
2658d7834c6e 8037816: Fix for 8036122 breaks build with Xcode5/clang
drchase
parents: 23458
diff changeset
    68
      err_msg("bottom mapped address should be " PTR_FORMAT ", but is " PTR_FORMAT, p2i(fake_heap), p2i(array.bottom_address_mapped())));
20083
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    69
    assert(array.end_address_mapped() == (fake_heap + REGION_SIZE_IN_WORDS * NUM_REGIONS), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    70
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    71
    int* bottom = array.address_mapped_to(fake_heap);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    72
    assert((void*)bottom == (void*) array.base(), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    73
    int* end = array.address_mapped_to(fake_heap + REGION_SIZE_IN_WORDS * NUM_REGIONS);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    74
    assert((void*)end == (void*)(array.base() + array.length()), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    75
    // The entire array should contain default value elements
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    76
    for (int* current = bottom; current < end; current++) {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    77
      assert(*current == array.default_value(), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    78
    }
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    79
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    80
    // Test setting values in the table
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    81
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    82
    HeapWord* region_start_address = fake_heap + REGION_SIZE_IN_WORDS * (NUM_REGIONS / 2);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    83
    HeapWord* region_end_address = fake_heap + (REGION_SIZE_IN_WORDS * (NUM_REGIONS / 2) + REGION_SIZE_IN_WORDS - 1);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    84
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    85
    // Set/get by address tests: invert some value; first retrieve one
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    86
    int actual_value = array.get_by_index(NUM_REGIONS / 2);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    87
    array.set_by_index(NUM_REGIONS / 2, ~actual_value);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    88
    // Get the same value by address, should correspond to the start of the "region"
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    89
    int value = array.get_by_address(region_start_address);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    90
    assert(value == ~actual_value, "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    91
    // Get the same value by address, at one HeapWord before the start
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    92
    value = array.get_by_address(region_start_address - 1);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    93
    assert(value == array.default_value(), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    94
    // Get the same value by address, at the end of the "region"
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    95
    value = array.get_by_address(region_end_address);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    96
    assert(value == ~actual_value, "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    97
    // Make sure the next value maps to another index
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    98
    value = array.get_by_address(region_end_address + 1);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
    99
    assert(value == array.default_value(), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   100
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   101
    // Reset the value in the array
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   102
    array.set_by_address(region_start_address + (region_end_address - region_start_address) / 2, actual_value);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   103
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   104
    // The entire array should have the default value again
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   105
    for (int* current = bottom; current < end; current++) {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   106
      assert(*current == array.default_value(), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   107
    }
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   108
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   109
    // Set/get by index tests: invert some value
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   110
    idx_t index = NUM_REGIONS / 2;
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   111
    actual_value = array.get_by_index(index);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   112
    array.set_by_index(index, ~actual_value);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   113
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   114
    value = array.get_by_index(index);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   115
    assert(value == ~actual_value, "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   116
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   117
    value = array.get_by_index(index - 1);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   118
    assert(value == array.default_value(), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   119
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   120
    value = array.get_by_index(index + 1);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   121
    assert(value == array.default_value(), "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   122
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   123
    array.set_by_index(0, 0);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   124
    value = array.get_by_index(0);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   125
    assert(value == 0, "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   126
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   127
    array.set_by_index(array.length() - 1, 0);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   128
    value = array.get_by_index(array.length() - 1);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   129
    assert(value == 0, "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   130
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   131
    array.set_by_index(index, 0);
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   132
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   133
    // The array should have three zeros, and default values otherwise
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   134
    size_t num_zeros = 0;
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   135
    for (int* current = bottom; current < end; current++) {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   136
      assert(*current == array.default_value() || *current == 0, "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   137
      if (*current == 0) {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   138
        num_zeros++;
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   139
      }
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   140
    }
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   141
    assert(num_zeros == 3, "must be");
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   142
  }
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   143
};
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   144
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   145
void TestG1BiasedArray_test() {
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   146
  TestMappedArray::test_biasedarray();
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   147
}
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   148
df032615dd00 7163191: G1: introduce a "heap spanning table" abstraction
tschatzl
parents:
diff changeset
   149
#endif