Searched refs:methodName (Results 1 - 25 of 274) sorted by relevance

1234567891011

/openjdk9/hotspot/test/gc/stress/gcbasher/
H A DDependency.java26 private String methodName; field in class:Dependency
30 public Dependency(String methodName, String methodDescriptor, String target) { argument
31 this.methodName = methodName;
44 methodName.equals(other.methodName) &&
50 return methodName.hashCode() ^ methodDescriptor.hashCode() ^ target.hashCode();
54 return methodName;
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/except/
H A DCatch_StackOverflowError_03.java59 String methodName = elements[i].getMethodName();
62 if (!methodName.startsWith("recurse")) {
67 if (methodName.equals("test")) {
72 if (lastMethodName.equals(methodName) || (!methodName.equals("recurseA") && !methodName.equals("recurseB"))) {
76 lastMethodName = methodName;
/openjdk9/nashorn/test/script/basic/
H A DNASHORN-109.js38 print(frames[i].methodName + ' ' + frames[i].lineNumber);
H A Derrorstack.js48 print(frames[i].methodName + " : " + frames[i].lineNumber);
/openjdk9/jdk/test/java/util/concurrent/tck/
H A DCollectionTest.java44 CollectionTest(CollectionImplementation impl, String methodName) { argument
45 super(methodName);
/openjdk9/test/lib/jdk/test/lib/hprof/model/
H A DStackFrame.java55 private String methodName; field in class:StackFrame
61 public StackFrame(String methodName, String methodSignature, argument
63 this.methodName = methodName;
74 return methodName;
/openjdk9/jdk/test/java/lang/String/concat/
H A DStringConcatFactoryInvariants.java70 String methodName = "foo";
107 CallSite cs = StringConcatFactory.makeConcat(lookup, methodName, mt);
112 CallSite cs = StringConcatFactory.makeConcatWithConstants(lookup, methodName, mt, recipe, constants);
118 () -> StringConcatFactory.makeConcat(null, methodName, mt));
124 () -> StringConcatFactory.makeConcat(lookup, methodName, null));
128 () -> StringConcatFactory.makeConcatWithConstants(null, methodName, mt, recipe, constants));
134 () -> StringConcatFactory.makeConcatWithConstants(lookup, methodName, null, recipe, constants));
137 () -> StringConcatFactory.makeConcatWithConstants(lookup, methodName, mt, null, constants));
140 () -> StringConcatFactory.makeConcatWithConstants(lookup, methodName, mt, recipe, null));
144 () -> StringConcatFactory.makeConcat(lookup, methodName, MethodTyp
[all...]
/openjdk9/jdk/src/java.management/share/classes/javax/management/
H A DMBeanServerInvocationHandler.java260 final String methodName = method.getName();
269 if (methodName.startsWith("get")
270 && methodName.length() > 3
274 methodName.substring(3));
277 if (methodName.startsWith("is")
278 && methodName.length() > 2
283 methodName.substring(2));
286 if (methodName.startsWith("set")
287 && methodName.length() > 3
290 Attribute attr = new Attribute(methodName
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/java/beans/
H A DExpression.java58 * The {@code target} and the {@code methodName} values should not be {@code null}.
65 * @param methodName the name of the method to invoke on the specified target
70 @ConstructorProperties({"target", "methodName", "arguments"})
71 public Expression(Object target, String methodName, Object[] arguments) { argument
72 super(target, methodName, arguments);
83 * The {@code target} and the {@code methodName} values should not be {@code null}.
91 * @param methodName the name of the method to invoke on the specified target
96 public Expression(Object value, Object target, String methodName, Object[] arguments) { argument
97 this(target, methodName, arguments);
110 * {@code methodName} propert
[all...]
H A DStatement.java74 private final String methodName; field in class:Statement
83 * The {@code target} and the {@code methodName} values should not be {@code null}.
90 * @param methodName the name of the method to invoke on the specified target
93 @ConstructorProperties({"target", "methodName", "arguments"})
94 public Statement(Object target, String methodName, Object[] arguments) { argument
96 this.methodName = methodName;
121 return methodName;
138 * as the {@code methodName} property, and invokes the method on
166 * {@code methodName} propert
[all...]
/openjdk9/jdk/test/java/lang/StackWalker/
H A DStackRecorderUtil.java50 public void add(Class declaringClass, String methodName, String fileName) { argument
51 testFrames.add(0, new TestFrame(declaringClass, methodName, fileName));
89 if (compareMethodNames && !tf.methodName.equals(sf.getMethodName())) {
90 throw new RuntimeException("Expected method name: " + tf.methodName +
96 ste.getMethodName().equals(tf.methodName)) &&
121 public String methodName; field in class:StackRecorderUtil.TestFrame
124 public TestFrame (Class declaringClass, String methodName, String fileName) { argument
126 this.methodName = methodName;
133 return "TestFrame: " + className() + "." + methodName
[all...]
/openjdk9/jdk/test/com/sun/jdi/
H A DNoLocInfoTest.java105 Method getMethod(String className, String methodName) { argument
113 List meths = refType.methodsByName(methodName);
116 " methods named: " + methodName);
122 void checkLineNumberTable(String className, String methodName) { argument
123 println("GetLineNumberTable for method: " + className + "." + methodName);
124 Method method = getMethod(className, methodName);
137 void checkEmptyLineNumberTable(String className, String methodName) { argument
139 className + "." + methodName);
140 Method method = getMethod(className, methodName);
H A DPopSynchronousTest.java118 StackFrame frameFor(String methodName) throws Exception { argument
123 if (frame.location().method().name().equals(methodName)) {
127 failure("FAIL: " + methodName + " not on stack");
144 int methodIndex(String methodName) { argument
146 if (methodName.equals(calls[i])) {
153 boolean isTop(String methodName) throws Exception { argument
154 return mainThread.frame(0).location().method().name().equals(methodName);
157 void checkTop(String methodName, boolean atStart) throws Exception { argument
161 if (!isTop(methodName)) {
162 failure("FAIL: expected " + methodName
206 resumeTo(String methodName) argument
214 pop(String methodName) argument
221 reenter(String methodName) argument
[all...]
/openjdk9/nashorn/test/src/jdk/nashorn/internal/runtime/test/
H A DJDK_8081015_Test.java65 private static void test(final String methodName) throws ScriptException { argument
71 engine.eval("test." + methodName + "([1, 2, 3.3, 'foo'])");
72 assertEquals(model.getLastInvoked(), methodName );
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/
H A DMemoryUsageBenchmark.java135 private void doCompilation(String methodName, String label) { argument
136 HotSpotResolvedJavaMethod method = (HotSpotResolvedJavaMethod) getResolvedJavaMethod(methodName);
153 private void allocSpyCompilation(String methodName) { argument
155 HotSpotResolvedJavaMethod method = (HotSpotResolvedJavaMethod) getResolvedJavaMethod(methodName);
161 try (AllocSpy as = AllocSpy.open(methodName)) {
172 private void compileAndTime(String methodName) { argument
175 parseEager(methodName, AllowAssumptions.YES);
179 doCompilation(methodName, verbose ? methodName + "[warmup-" + i + "]" : null);
182 doCompilation(methodName, methodNam
[all...]
/openjdk9/hotspot/test/compiler/testlibrary/rtm/
H A DRTMLockingStatistics.java66 "(?<methodName>[^@\n]+)@(?<bci>[0-9]+)\n" +
76 private final String methodName; field in class:RTMLockingStatistics
86 methodName = matcher.group("methodName");
123 * for locks in method {@code methodName}.
125 * @param methodName a name of the method for locks from which statistics
131 public static List<RTMLockingStatistics> fromString(String methodName, argument
133 String formattedMethodName = formatMethodName(methodName);
156 * @param methodName method's name that should be formatted.
159 private static String formatMethodName(String methodName) { argument
[all...]
/openjdk9/jdk/make/src/classes/build/tools/generatecharacter/
H A DPrintCharacterRanges.java48 private static List/*<BooleanRange>*/ recoverBooleanRanges(String methodName) throws Exception { argument
51 Method method = Character.class.getDeclaredMethod(methodName, new Class[] { Character.TYPE });
53 throw new RuntimeException("No method \"" + methodName + "\"(C) found");
94 private static void printBooleanRanges(List/*<BooleanRange>*/ ranges, String methodName) { argument
95 System.out.print(methodName + ":");
103 private static void recoverAndPrintBooleanRanges(String methodName) throws Exception { argument
104 List ranges = recoverBooleanRanges(methodName);
105 printBooleanRanges(ranges, methodName);
124 private static List/*<ShiftRange>*/ recoverShiftRanges(String methodName) throws Exception { argument
128 Method method = Character.class.getDeclaredMethod(methodName, ne
158 printShiftRanges(List ranges, String methodName) argument
175 recoverAndPrintShiftRanges(String methodName) argument
[all...]
/openjdk9/jdk/test/javax/xml/jaxp/PrecisionDecimalDV/
H A DXPrecisionDecimalToString.java42 private static final String methodName = "canonicalToStringForHashCode"; field in class:XPrecisionDecimalToString
59 method = type.getDeclaredMethod(methodName, signature);
63 throw new Error("Impossible to find '"+className+"."+methodName+"': "+ x, x);
68 throw new Error("Failed to invoke "+className+"."+methodName+"(\""+
/openjdk9/jdk/test/javax/management/monitor/
H A DMBeanServerForwarderInvocationHandler.java55 final String methodName = method.getName();
57 if (methodName.equals("getMBeanServer")) {
61 if (methodName.equals("setMBeanServer")) {
71 if (methodName.equals("getAttribute") && exception != null) {
/openjdk9/hotspot/test/serviceability/dcmd/compiler/
H A DCodelistTest.java125 if (str.contains(testcase.methodName)) {
136 Assert.assertTrue(testcase.check, "Missing testcase " + testcase.methodName);
168 String methodName; field in class:CodelistTest.TestCase
171 public TestCase(int level, String methodName) { argument
172 this.method = getMethod(CodelistTest.class, methodName);
174 this.methodName = methodName;
/openjdk9/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/
H A DCompilationSpec.java88 String methodName = MiscUtils.uniqueMethodName(method);
92 compileMethod = compileOnlyStrings.contains(methodName);
98 compileMethod = pattern.matcher(methodName).matches();
104 compileMethod = !excludeStrings.contains(methodName);
110 compileMethod = !(pattern.matcher(methodName).matches());
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/
H A DDocletInvoker.java207 String methodName = "start";
211 retVal = invoke(methodName, null, paramTypes, params);
219 docletClassName, methodName);
231 String methodName = "optionLength";
235 retVal = invoke(methodName, 0, paramTypes, params);
243 docletClassName, methodName);
255 String methodName = "validOptions";
260 retVal = invoke(methodName, Boolean.TRUE, paramTypes, params);
268 docletClassName, methodName);
280 String methodName
303 invoke(String methodName, Object returnValueIfNonExistent, Class<?>[] paramTypes, Object[] params) argument
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/
H A DMethodFilter.java98 private final Pattern methodName; field in class:MethodFilter
162 methodName = Pattern.compile(createGlobString(pattern.substring(pos + 1)));
165 methodName = Pattern.compile(createGlobString(pattern));
196 if (methodName != null && !methodName.matcher(o.getName()).matches()) {
225 if (methodName != null && !methodName.matcher(name).matches()) {
242 if (methodName != null) {
243 buf.append(sep).append("methodName=").append(methodName);
[all...]
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DFunctionAvailableCall.java107 String methodName = null;
113 methodName = functionName.substring(lastDotIndex+1);
120 methodName = functionName;
123 methodName = _nameOfFunct;
125 if (className == null || methodName == null) {
130 if (methodName.indexOf('-') > 0)
131 methodName = replaceDash(methodName);
146 && methods[i].getName().equals(methodName))
/openjdk9/hotspot/test/compiler/jvmci/compilerToVM/
H A DFindUniqueConcreteMethodTest.java106 Method method = tcase.holder.getDeclaredMethod(tcase.methodName);
115 "Unexpected concrete method for " + tcase.methodName);
121 public final String methodName; field in class:FindUniqueConcreteMethodTest.TestCase
125 String methodName) {
127 this.methodName = methodName;
132 public TestCase(boolean isPositive, Class<?> clazz, String methodName) { argument
133 this(isPositive, clazz, clazz, methodName);
139 receiver.getName(), holder.getName(), methodName, isPositive);
124 TestCase(boolean isPositive, Class<?> clazz, Class<?> holder, String methodName) argument

Completed in 167 milliseconds

1234567891011