8217387: Remove dead develop flag CIFireOOMAt

Reviewed-by: shade, kbarrett
This commit is contained in:
Claes Redestad 2019-01-20 16:55:21 +01:00
parent 108c7bbe0b
commit d3cd2cb795
4 changed files with 0 additions and 27 deletions

View file

@ -100,10 +100,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
friend class MemAllocator;
private:
#ifdef ASSERT
static int _fire_out_of_memory_count;
#endif
GCHeapLog* _gc_heap_log;
MemRegion _reserved;
@ -600,12 +596,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
void reset_promotion_should_fail(volatile size_t* count);
void reset_promotion_should_fail();
#endif // #ifndef PRODUCT
#ifdef ASSERT
static int fired_fake_oom() {
return (CIFireOOMAt > 1 && _fire_out_of_memory_count >= CIFireOOMAt);
}
#endif
};
// Class to set and reset the GC cause for a CollectedHeap.