mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8171008: Integrate AOT compiler into JDK
Reviewed-by: erikj, mchung, twisti, simonis
This commit is contained in:
parent
1a40cebca3
commit
2c220df590
11 changed files with 792 additions and 151 deletions
|
@ -49,8 +49,13 @@ public class CodeBlob {
|
|||
assert obj.length == 4;
|
||||
name = (String) obj[0];
|
||||
size = (Integer) obj[1];
|
||||
code_blob_type = BlobType.values()[(Integer) obj[2]];
|
||||
assert code_blob_type.id == (Integer) obj[2];
|
||||
int blob_type_index = (Integer) obj[2];
|
||||
if (blob_type_index == -1) { // AOT
|
||||
code_blob_type = null;
|
||||
} else {
|
||||
code_blob_type = BlobType.values()[blob_type_index];
|
||||
assert code_blob_type.id == (Integer) obj[2];
|
||||
}
|
||||
address = (Long) obj[3];
|
||||
}
|
||||
public final String name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue