Skip to content

Commit

Permalink
OK
Browse files Browse the repository at this point in the history
  • Loading branch information
jdksjolen committed Nov 30, 2023
1 parent 317b0c4 commit f9aee40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/compiler/compilerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

// Create a CompilerThread
CompilerThread::CompilerThread(CompileQueue* queue, CompilerCounters* counters)
: JavaThread(&CompilerThread::thread_entry, 0, false),
: JavaThread(&CompilerThread::thread_entry, 0, true),
_backing_compiler_memory{9, ContiguousAllocator::get_chunk_size(false)},
_resource_area_memory{_backing_compiler_memory.next(), mtCompiler},
_compiler_memory{_backing_compiler_memory.next(), mtCompiler},
Expand All @@ -51,7 +51,7 @@ CompilerThread::CompilerThread(CompileQueue* queue, CompilerCounters* counters)
_buffer_blob = nullptr;
_can_call_java = false;
_compiler = nullptr;
set_resource_area(new (mtThread) ResourceArea{/*&_resource_area_memory,*/ mtCompiler});
//this->set_resource_area(new (mtThread) ResourceArea{/*&_resource_area_memory,*/ mtCompiler});
_arena_stat = CompilationMemoryStatistic::enabled() ? new ArenaStatCounter : nullptr;
#ifndef PRODUCT
_ideal_graph_printer = nullptr;
Expand Down

0 comments on commit f9aee40

Please sign in to comment.