mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6621728: Heap inspection should not crash in the face of C-heap exhaustion
Deal more gracefully with situations where C-heap scratch space cannot be had Reviewed-by: jmasa
This commit is contained in:
parent
63f1de52fc
commit
51bf19209d
2 changed files with 70 additions and 32 deletions
|
@ -98,8 +98,9 @@ class KlassInfoTable: public StackObj {
|
|||
};
|
||||
KlassInfoTable(int size, HeapWord* ref);
|
||||
~KlassInfoTable();
|
||||
void record_instance(const oop obj);
|
||||
bool record_instance(const oop obj);
|
||||
void iterate(KlassInfoClosure* cic);
|
||||
bool allocation_failed() { return _buckets == NULL; }
|
||||
};
|
||||
|
||||
class KlassInfoHisto : public StackObj {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue