Mercurial > hg > truffle
comparison src/share/vm/oops/arrayOop.hpp @ 4708:3c648b9ad052
7121373: Clean up CollectedHeap::is_in
Summary: Fixed G1CollectedHeap::is_in, added tests, cleaned up comments and made Space::is_in pure virtual.
Reviewed-by: brutisso, tonyp, jcoomes
author | stefank |
---|---|
date | Wed, 14 Dec 2011 12:15:26 +0100 |
parents | aa4c21b00f7f |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
4132:6d7d0790074d | 4708:3c648b9ad052 |
---|---|
126 | 126 |
127 // for unit testing | 127 // for unit testing |
128 #ifndef PRODUCT | 128 #ifndef PRODUCT |
129 static bool check_max_length_overflow(BasicType type); | 129 static bool check_max_length_overflow(BasicType type); |
130 static int32_t old_max_array_length(BasicType type); | 130 static int32_t old_max_array_length(BasicType type); |
131 static bool test_max_array_length(); | 131 static void test_max_array_length(); |
132 #endif | 132 #endif |
133 }; | 133 }; |
134 | 134 |
135 #endif // SHARE_VM_OOPS_ARRAYOOP_HPP | 135 #endif // SHARE_VM_OOPS_ARRAYOOP_HPP |