mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8198756: Lazy allocation of compiler threads
Reviewed-by: kvn
This commit is contained in:
parent
4a2ed13802
commit
5e1a7651cd
6 changed files with 294 additions and 47 deletions
|
@ -3359,6 +3359,11 @@ CompilerThread::CompilerThread(CompileQueue* queue,
|
|||
#endif
|
||||
}
|
||||
|
||||
CompilerThread::~CompilerThread() {
|
||||
// Delete objects which were allocated on heap.
|
||||
delete _counters;
|
||||
}
|
||||
|
||||
bool CompilerThread::can_call_java() const {
|
||||
return _compiler != NULL && _compiler->is_jvmci();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue