Skip to content

Commit 345122d

Browse files
Andrew LuGoeLin
authored andcommitted
8067250: [mlvm] vm/mlvm/mixed/stress/regression/b6969574 fails and perf regression
Backport-of: 2b003cb
1 parent 1f4decf commit 345122d

File tree

1 file changed

+4
-21
lines changed
  • test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/regression/b6969574

1 file changed

+4
-21
lines changed

test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/regression/b6969574/INDIFY_Test.java

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -27,8 +27,7 @@
2727
* @bug 6969574
2828
*
2929
* @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]
3231
*
3332
* @library /vmTestbase
3433
* /test/lib
@@ -313,10 +312,8 @@ private void verifyTimeOrder(Result value, Result base) {
313312
private final static int REFLECTION_CALL = 1;
314313
private final static int INVOKE_EXACT = 2;
315314
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;
320317

321318
//
322319
// Test body
@@ -356,18 +353,6 @@ public void run() throws Throwable {
356353
}
357354
});
358355

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-
371356
benchmarks[INDY] = new Benchmark("invokedynamic instruction", new T() {
372357
public void run() throws Throwable {
373358
indyWrapper(testData);
@@ -415,8 +400,6 @@ public void run() throws Throwable {
415400
verifyTimeOrder(results[REFLECTION_CALL], results[INVOKE_EXACT]);
416401
verifyTimeOrder(results[INVOKE_EXACT], results[DIRECT_CALL]);
417402
verifyTimeOrder(results[INVOKE], results[DIRECT_CALL]);
418-
verifyTimeOrder(results[INVOKE_WITHARG], results[INVOKE_EXACT]);
419-
verifyTimeOrder(results[INVOKE_WITHARG_TYPECONV], results[INVOKE_EXACT]);
420403
verifyTimeOrder(results[INVOKE_EXACT], results[INDY]);
421404

422405
return true;

0 commit comments

Comments
 (0)