mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8187685: NMT: Tracking compiler memory usage of thread's resource area
Bias compiler thread's resource area to mtCompiler Reviewed-by: kvn, coleenp
This commit is contained in:
parent
3ccd60110d
commit
0d8679e178
3 changed files with 18 additions and 2 deletions
|
@ -3263,6 +3263,9 @@ CompilerThread::CompilerThread(CompileQueue* queue,
|
|||
_buffer_blob = NULL;
|
||||
_compiler = NULL;
|
||||
|
||||
// Compiler uses resource area for compilation, let's bias it to mtCompiler
|
||||
resource_area()->bias_to(mtCompiler);
|
||||
|
||||
#ifndef PRODUCT
|
||||
_ideal_graph_printer = NULL;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue