mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8217387: Remove dead develop flag CIFireOOMAt
Reviewed-by: shade, kbarrett
This commit is contained in:
parent
108c7bbe0b
commit
d3cd2cb795
4 changed files with 0 additions and 27 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue