mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7182543: NMT ON: Aggregate a few NMT related bugs
1) Fixed MemTrackWorker::generations_in_used() calculation 2) Ensured NMT not to leak memory recorders after shutdown 3) Used ThreadCritical to block safepoint safe threads Reviewed-by: acorn, coleenp, dholmes, kvn
This commit is contained in:
parent
559278381b
commit
f9083712dd
5 changed files with 35 additions and 35 deletions
|
@ -249,9 +249,9 @@ class MemRecorder : public CHeapObj<mtNMT|otNMTRecorder> {
|
|||
|
||||
SequencedRecordIterator pointer_itr();
|
||||
|
||||
public:
|
||||
protected:
|
||||
// number of MemRecorder instance
|
||||
debug_only(static volatile jint _instance_count;)
|
||||
static volatile jint _instance_count;
|
||||
|
||||
private:
|
||||
// sorting function, sort records into following order
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue