diff --git a/src/hotspot/share/compiler/compilerThread.cpp b/src/hotspot/share/compiler/compilerThread.cpp index 5cdab85d5993b..1879f556b2d28 100644 --- a/src/hotspot/share/compiler/compilerThread.cpp +++ b/src/hotspot/share/compiler/compilerThread.cpp @@ -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}); + set_resource_area(new (mtThread) ResourceArea{/*&_resource_area_memory,*/ mtCompiler}); _arena_stat = CompilationMemoryStatistic::enabled() ? new ArenaStatCounter : nullptr; #ifndef PRODUCT _ideal_graph_printer = nullptr;