Home
last modified time | relevance | path

Searched refs:newTarget (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/invoke/
DCallSite.java205 public abstract void setTarget(MethodHandle newTarget); in setTarget() argument
207 void checkTargetChange(MethodHandle oldTarget, MethodHandle newTarget) { in checkTargetChange() argument
209 MethodType newType = newTarget.type(); // null check! in checkTargetChange()
211 throw wrongTargetType(newTarget, oldType); in checkTargetChange()
277 void setTargetNormal(MethodHandle newTarget) { in setTargetNormal() argument
280 target = newTarget; in setTargetNormal()
287 void setTargetVolatile(MethodHandle newTarget) { in setTargetVolatile() argument
290 UNSAFE.putObjectVolatile(this, TARGET_OFFSET, newTarget); in setTargetVolatile()
DMutableCallSite.java148 @Override public void setTarget(MethodHandle newTarget) { in setTarget() argument
149 checkTargetChange(this.target, newTarget); in setTarget()
150 setTargetNormal(newTarget); in setTarget()
DVolatileCallSite.java93 @Override public void setTarget(MethodHandle newTarget) { in setTarget() argument
94 checkTargetChange(getTargetVolatile(), newTarget); in setTarget() local
95 setTargetVolatile(newTarget); in setTarget()
/libcore/libart/src/main/java/dalvik/system/
DVMRuntime.java350 public float setTargetHeapUtilization(float newTarget) { in setTargetHeapUtilization() argument
351 if (newTarget <= 0.0f || newTarget >= 1.0f) { in setTargetHeapUtilization()
352 throw new IllegalArgumentException(newTarget + " out of range (0,1)"); in setTargetHeapUtilization()
355 if (newTarget < 0.1f) { in setTargetHeapUtilization()
356 newTarget = 0.1f; in setTargetHeapUtilization()
363 nativeSetTargetHeapUtilization(newTarget); in setTargetHeapUtilization()
501 private native void nativeSetTargetHeapUtilization(float newTarget); in nativeSetTargetHeapUtilization() argument
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DCallSite.java35 public abstract void setTarget(MethodHandle newTarget); in setTarget() argument
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesPermuteArgumentsTest.java189 MethodHandle newTarget = MethodHandles.permuteArguments(target, inType, reorder); in testPermuteArguments() local
190 if (verbosity >= 5) System.out.println("newTarget = "+newTarget); in testPermuteArguments()
191 Object result = newTarget.invokeWithArguments(args); in testPermuteArguments()