equal
deleted
inserted
replaced
127 public int getCompileQueuesSize() { |
127 public int getCompileQueuesSize() { |
128 return getCompileQueueSize(-1 /*any*/); |
128 return getCompileQueueSize(-1 /*any*/); |
129 } |
129 } |
130 public native int getCompileQueueSize(int compLevel); |
130 public native int getCompileQueueSize(int compLevel); |
131 public native boolean testSetForceInlineMethod(Executable method, boolean value); |
131 public native boolean testSetForceInlineMethod(Executable method, boolean value); |
132 public boolean enqueueMethodForCompilation(Executable method, int compLevel) { |
132 public boolean enqueueMethodForCompilation(Executable method, int compLevel) { |
133 return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/); |
133 return enqueueMethodForCompilation(method, compLevel, -1 /*InvocationEntryBci*/); |
134 } |
134 } |
135 public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci); |
135 public native boolean enqueueMethodForCompilation(Executable method, int compLevel, int entry_bci); |
136 public native void clearMethodState(Executable method); |
136 public native void clearMethodState(Executable method); |
137 public native int getMethodEntryBci(Executable method); |
137 public native int getMethodEntryBci(Executable method); |
154 public native long getThreadRemainingStackSize(); |
154 public native long getThreadRemainingStackSize(); |
155 |
155 |
156 // CPU features |
156 // CPU features |
157 public native String getCPUFeatures(); |
157 public native String getCPUFeatures(); |
158 |
158 |
|
159 // VM flags |
|
160 public native void setBooleanVMFlag(String name, boolean value); |
|
161 public native void setIntxVMFlag(String name, long value); |
|
162 public native void setUintxVMFlag(String name, long value); |
|
163 public native void setUint64VMFlag(String name, long value); |
|
164 public native void setStringVMFlag(String name, String value); |
|
165 public native void setDoubleVMFlag(String name, double value); |
|
166 public native Boolean getBooleanVMFlag(String name); |
|
167 public native Long getIntxVMFlag(String name); |
|
168 public native Long getUintxVMFlag(String name); |
|
169 public native Long getUint64VMFlag(String name); |
|
170 public native String getStringVMFlag(String name); |
|
171 public native Double getDoubleVMFlag(String name); |
159 } |
172 } |