Skip to content

Commit

Permalink
[profiler][feat][WIP] Init VmThreadLocal counters during profiler's init
Browse files Browse the repository at this point in the history
  • Loading branch information
orionpapadakis committed Dec 3, 2019
1 parent b076172 commit 3f427f5
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -238,6 +238,9 @@ public NUMAProfiler() {

float afterAllocProfiler = (float) Heap.reportUsedSpace() / (1024 * 1024);

//initialize thread local counters
initProfilingCounters();

if (profileAll() && NUMAProfilerExplicitGCThreshold == 0) {
enableProfiling();
}
Expand Down

0 comments on commit 3f427f5

Please sign in to comment.