< prev index next >

src/hotspot/share/memory/memRegion.hpp

Print this page
rev 58060 : [mq]: 8238999-iklam-review

*** 90,103 **** size_t byte_size() const { return _word_size * sizeof(HeapWord); } size_t word_size() const { return _word_size; } bool is_empty() const { return word_size() == 0; } ! void* operator new(size_t size) throw(); ! void* operator new [](size_t size) throw(); ! void operator delete(void* p); ! void operator delete [](void* p); }; // For iteration over MemRegion's. class MemRegionClosure : public StackObj { --- 90,102 ---- size_t byte_size() const { return _word_size * sizeof(HeapWord); } size_t word_size() const { return _word_size; } bool is_empty() const { return word_size() == 0; } ! ! // Creates and initializes an array of MemRegions of the given length. ! static MemRegion* create(uint length, MEMFLAGS flags); }; // For iteration over MemRegion's. class MemRegionClosure : public StackObj {
< prev index next >