< prev index next >
src/share/vm/utilities/bitMap.cpp
Print this page
rev 13100 : imported patch 8182169-arrayallocator-should-take-memflag-parameter
@@ -46,14 +46,14 @@
};
class CHeapBitMapAllocator : StackObj {
public:
bm_word_t* allocate(size_t size_in_words) const {
- return ArrayAllocator<bm_word_t, mtInternal>::allocate(size_in_words);
+ return ArrayAllocator<bm_word_t>::allocate(size_in_words, mtInternal);
}
void free(bm_word_t* map, idx_t size_in_words) const {
- ArrayAllocator<bm_word_t, mtInternal>::free(map, size_in_words);
+ ArrayAllocator<bm_word_t>::free(map, size_in_words);
}
};
class ArenaBitMapAllocator : StackObj {
Arena* _arena;
< prev index next >