Lines Matching defs:which
48 * The flavor of method handle which implements a constant reference
153 * Create a LF which can invoke the given method.
161 int which;
163 case REF_invokeVirtual: which = LF_INVVIRTUAL; break;
164 case REF_invokeStatic: which = LF_INVSTATIC; break;
165 case REF_invokeSpecial: which = LF_INVSPECIAL; break;
166 case REF_invokeInterface: which = LF_INVINTERFACE; break;
167 case REF_newInvokeSpecial: which = LF_NEWINVSPECIAL; break;
170 if (which == LF_INVSTATIC && shouldBeInitialized(m)) {
172 preparedLambdaForm(mtype, which);
173 which = LF_INVSTATIC_INIT;
175 LambdaForm lform = preparedLambdaForm(mtype, which);
183 private static LambdaForm preparedLambdaForm(MethodType mtype, int which) {
184 LambdaForm lform = mtype.form().cachedLambdaForm(which);
186 lform = makePreparedLambdaForm(mtype, which);
187 return mtype.form().setCachedLambdaForm(which, lform);
190 static LambdaForm makePreparedLambdaForm(MethodType mtype, int which) {
191 boolean needsInit = (which == LF_INVSTATIC_INIT);
192 boolean doesAlloc = (which == LF_NEWINVSPECIAL);
195 switch (which) {
202 default: throw new InternalError("which="+which);
527 * Create a LF which can access the given field.
803 // doesn't initialize the class, which subtly breaks inlining etc. By forcing