mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -229,7 +229,7 @@ public class WhiteBox {
|
|||
return isMethodCompiled0(method, isOsr);
|
||||
}
|
||||
public boolean isMethodCompilable(Executable method) {
|
||||
return isMethodCompilable(method, -1 /*any*/);
|
||||
return isMethodCompilable(method, -2 /*any*/);
|
||||
}
|
||||
public boolean isMethodCompilable(Executable method, int compLevel) {
|
||||
return isMethodCompilable(method, compLevel, false /*not osr*/);
|
||||
|
@ -277,7 +277,7 @@ public class WhiteBox {
|
|||
return deoptimizeMethod0(method, isOsr);
|
||||
}
|
||||
public void makeMethodNotCompilable(Executable method) {
|
||||
makeMethodNotCompilable(method, -1 /*any*/);
|
||||
makeMethodNotCompilable(method, -2 /*any*/);
|
||||
}
|
||||
public void makeMethodNotCompilable(Executable method, int compLevel) {
|
||||
makeMethodNotCompilable(method, compLevel, false /*not osr*/);
|
||||
|
@ -301,7 +301,7 @@ public class WhiteBox {
|
|||
return testSetDontInlineMethod0(method, value);
|
||||
}
|
||||
public int getCompileQueuesSize() {
|
||||
return getCompileQueueSize(-1 /*any*/);
|
||||
return getCompileQueueSize(-2 /*any*/);
|
||||
}
|
||||
public native int getCompileQueueSize(int compLevel);
|
||||
private native boolean testSetForceInlineMethod0(Executable method, boolean value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue