jdk/src/share/classes/java/lang/invoke/LambdaForm.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/jdk/src/share/classes/java/lang/invoke/LambdaForm.java Wed Sep 4 13:51:09 2013
--- new/jdk/src/share/classes/java/lang/invoke/LambdaForm.java Wed Sep 4 13:51:08 2013
*** 32,41 ****
--- 32,42 ----
import java.util.Arrays;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;
import sun.invoke.util.Wrapper;
+ import sun.invoke.Stable;
import static java.lang.invoke.MethodHandleStatics.*;
import static java.lang.invoke.MethodHandleNatives.Constants.*;
import java.lang.reflect.Field;
import java.util.Objects;
*** 118,128 ****
--- 119,129 ----
* @author John Rose, JSR 292 EG
*/
class LambdaForm {
final int arity;
final int result;
! @Stable final Name[] names;
final String debugName;
MemberName vmentry; // low-level behavior, or null if not yet prepared
private boolean isCompiled;
// Caches for common structural transforms:
*** 969,980 ****
--- 970,981 ----
return true;
}
static class NamedFunction {
final MemberName member;
! @Stable MethodHandle resolvedHandle;
! MethodHandle invoker;
! @Stable MethodHandle invoker;
NamedFunction(MethodHandle resolvedHandle) {
this(resolvedHandle.internalMemberName(), resolvedHandle);
}
NamedFunction(MemberName member, MethodHandle resolvedHandle) {
*** 1265,1275 ****
--- 1266,1276 ----
static final class Name {
final char type;
private short index;
final NamedFunction function;
! @Stable final Object[] arguments;
private Name(int index, char type, NamedFunction function, Object[] arguments) {
this.index = (short)index;
this.type = type;
this.function = function;
jdk/src/share/classes/java/lang/invoke/LambdaForm.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File