mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8293114: JVM should trim the native heap
Reviewed-by: shade, rehn, dholmes
This commit is contained in:
parent
59f66a3b83
commit
9e4fc568a6
20 changed files with 843 additions and 8 deletions
|
@ -37,6 +37,7 @@
|
|||
#include "runtime/atomic.hpp"
|
||||
#include "runtime/interfaceSupport.inline.hpp"
|
||||
#include "runtime/timerTrace.hpp"
|
||||
#include "runtime/trimNativeHeap.hpp"
|
||||
#include "services/diagnosticCommand.hpp"
|
||||
#include "utilities/concurrentHashTable.inline.hpp"
|
||||
#include "utilities/concurrentHashTableTasks.inline.hpp"
|
||||
|
@ -737,6 +738,7 @@ void SymbolTable::clean_dead_entries(JavaThread* jt) {
|
|||
|
||||
SymbolTableDeleteCheck stdc;
|
||||
SymbolTableDoDelete stdd;
|
||||
NativeHeapTrimmer::SuspendMark sm("symboltable");
|
||||
{
|
||||
TraceTime timer("Clean", TRACETIME_LOG(Debug, symboltable, perf));
|
||||
while (bdt.do_task(jt, stdc, stdd)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue