mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8151956: Support non-continuous CodeBlobs in HotSpot
Reviewed-by: iveresov, thartmann, simonis
This commit is contained in:
parent
67ff4391ec
commit
b853eb7f5c
100 changed files with 2486 additions and 1868 deletions
|
@ -135,7 +135,11 @@ AbstractCompiler* CompileTask::compiler() {
|
|||
//
|
||||
nmethod* CompileTask::code() const {
|
||||
if (_code_handle == NULL) return NULL;
|
||||
return _code_handle->code();
|
||||
CodeBlob *blob = _code_handle->code();
|
||||
if (blob != NULL) {
|
||||
return blob->as_nmethod();
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void CompileTask::set_code(nmethod* nm) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue