--- a/src/hotspot/share/gc/shared/collectedHeap.hpp Sun Jan 20 11:13:13 2019 +0100
+++ b/src/hotspot/share/gc/shared/collectedHeap.hpp Sun Jan 20 16:55:21 2019 +0100
@@ -100,10 +100,6 @@
friend class MemAllocator;
private:
-#ifdef ASSERT
- static int _fire_out_of_memory_count;
-#endif
-
GCHeapLog* _gc_heap_log;
MemRegion _reserved;
@@ -600,12 +596,6 @@
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.