RFR: 8278623: compiler/vectorapi/reshape/TestVectorCastAVX512.java after JDK-8259610

Christian Hagedorn chagedorn at openjdk.java.net
Thu Dec 16 09:24:53 UTC 2021


On Wed, 15 Dec 2021 21:53:20 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> I thought that Vector API filters would filter such tests. But looks like `VectorReshapeHelper.runMainHelper()` does not run with command line flags. I used `@run main` to solve that but filters still does not work. I am not sure it is a bug or feature.

Generally, the idea behind recommending `@run driver` for IR tests is to not
impact the VM running the test framework setup which does not run the actual
user written `@Test` methods. The framework creates a child VM and only adds the
JTreg options there where the actual testing code is executed.

But it sounds like these set of vector tests are an exception because the actual
test selection relies on the JTreg options. So your suggestion of changing it to
`@run main` would make sense here if filters depend on them.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6852


More information about the hotspot-compiler-dev mailing list