|
1 | 1 | /* |
2 | | - * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | 4 | * |
5 | 5 | * This code is free software; you can redistribute it and/or modify it |
|
27 | 27 | * @bug 6969574 |
28 | 28 | * |
29 | 29 | * @summary converted from VM Testbase vm/mlvm/mixed/stress/regression/b6969574. |
30 | | - * VM Testbase keywords: [feature_mlvm, nonconcurrent, quarantine] |
31 | | - * VM Testbase comments: 8079650 |
| 30 | + * VM Testbase keywords: [feature_mlvm, nonconcurrent] |
32 | 31 | * |
33 | 32 | * @library /vmTestbase |
34 | 33 | * /test/lib |
@@ -313,10 +312,8 @@ private void verifyTimeOrder(Result value, Result base) { |
313 | 312 | private final static int REFLECTION_CALL = 1; |
314 | 313 | private final static int INVOKE_EXACT = 2; |
315 | 314 | private final static int INVOKE = 3; |
316 | | - private final static int INVOKE_WITHARG = 4; |
317 | | - private final static int INVOKE_WITHARG_TYPECONV = 5; |
318 | | - private final static int INDY = 6; |
319 | | - private final static int BENCHMARK_COUNT = 7; |
| 315 | + private final static int INDY = 4; |
| 316 | + private final static int BENCHMARK_COUNT = 5; |
320 | 317 |
|
321 | 318 | // |
322 | 319 | // Test body |
@@ -356,18 +353,6 @@ public void run() throws Throwable { |
356 | 353 | } |
357 | 354 | }); |
358 | 355 |
|
359 | | - benchmarks[INVOKE_WITHARG] = new Benchmark("MH.invokeWithArguments(), exact types", new T() { |
360 | | - public void run() throws Throwable { |
361 | | - mhTestee.invokeWithArguments(testData, TESTEE_ARG2, TESTEE_ARG3); |
362 | | - } |
363 | | - }); |
364 | | - |
365 | | - benchmarks[INVOKE_WITHARG_TYPECONV] = new Benchmark("MH.invokeWithArguments() + type conv.", new T() { |
366 | | - public void run() throws Throwable { |
367 | | - mhTestee.invokeWithArguments((Object) testData, null, (Short) Short.MAX_VALUE); |
368 | | - } |
369 | | - }); |
370 | | - |
371 | 356 | benchmarks[INDY] = new Benchmark("invokedynamic instruction", new T() { |
372 | 357 | public void run() throws Throwable { |
373 | 358 | indyWrapper(testData); |
@@ -415,8 +400,6 @@ public void run() throws Throwable { |
415 | 400 | verifyTimeOrder(results[REFLECTION_CALL], results[INVOKE_EXACT]); |
416 | 401 | verifyTimeOrder(results[INVOKE_EXACT], results[DIRECT_CALL]); |
417 | 402 | verifyTimeOrder(results[INVOKE], results[DIRECT_CALL]); |
418 | | - verifyTimeOrder(results[INVOKE_WITHARG], results[INVOKE_EXACT]); |
419 | | - verifyTimeOrder(results[INVOKE_WITHARG_TYPECONV], results[INVOKE_EXACT]); |
420 | 403 | verifyTimeOrder(results[INVOKE_EXACT], results[INDY]); |
421 | 404 |
|
422 | 405 | return true; |
|
0 commit comments