Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Aleksey Shipilev
On Thu, 2 Jun 2022 09:54:31 GMT, Aleksey Shipilev  wrote:

> [JDK-8287496](https://bugs.openjdk.java.net/browse/JDK-8287496) brought the 
> alternative Loom implementation that can be used by ports as the fallback. 
> That fallback does not support JVMTI entirely, so lots of tests fail. Some 
> JVMTI is still supported, so cutting off at `@requires vm.jvmti` seems too 
> broad. They should be predicated with `@requires vm.continuations` to be 
> skipped when fallback is used.
> 
> This also allows reverting relevant x86_32 problemlist exclusions.
> 
> Additional testing:
>  - [x] Linux x86_32 fastdebug, `serviceability/jvmti` works, many tests 
> skipped
>  - [x] Linux x86_64 fastdebug, `serviceability/jvmti` still works, with all 
> current tests executing

Thank you!

-

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


Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Robbin Ehn
On Thu, 2 Jun 2022 14:38:31 GMT, Aleksey Shipilev  wrote:

> Trivial, or? I would like to have this integrated sooner to clean up our 
> testing.

Ship it under trivial, thanks.

-

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


Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Aleksey Shipilev
On Thu, 2 Jun 2022 09:54:31 GMT, Aleksey Shipilev  wrote:

> [JDK-8287496](https://bugs.openjdk.java.net/browse/JDK-8287496) brought the 
> alternative Loom implementation that can be used by ports as the fallback. 
> That fallback does not support JVMTI entirely, so lots of tests fail. Some 
> JVMTI is still supported, so cutting off at `@requires vm.jvmti` seems too 
> broad. They should be predicated with `@requires vm.continuations` to be 
> skipped when fallback is used.
> 
> This also allows reverting relevant x86_32 problemlist exclusions.
> 
> Additional testing:
>  - [x] Linux x86_32 fastdebug, `serviceability/jvmti` works, many tests 
> skipped
>  - [x] Linux x86_64 fastdebug, `serviceability/jvmti` still works, with all 
> current tests executing

Trivial, or? I would like to have this integrated sooner to clean up our 
testing.

-

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


Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Leonid Mesnik
On Thu, 2 Jun 2022 09:54:31 GMT, Aleksey Shipilev  wrote:

> [JDK-8287496](https://bugs.openjdk.java.net/browse/JDK-8287496) brought the 
> alternative Loom implementation that can be used by ports as the fallback. 
> That fallback does not support JVMTI entirely, so lots of tests fail. Some 
> JVMTI is still supported, so cutting off at `@requires vm.jvmti` seems too 
> broad. They should be predicated with `@requires vm.continuations` to be 
> skipped when fallback is used.
> 
> This also allows reverting relevant x86_32 problemlist exclusions.
> 
> Additional testing:
>  - [x] Linux x86_32 fastdebug, `serviceability/jvmti` works, many tests 
> skipped
>  - [x] Linux x86_64 fastdebug, `serviceability/jvmti` still works, with all 
> current tests executing

Marked as reviewed by lmesnik (Reviewer).

-

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


Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Robbin Ehn
On Thu, 2 Jun 2022 09:54:31 GMT, Aleksey Shipilev  wrote:

> [JDK-8287496](https://bugs.openjdk.java.net/browse/JDK-8287496) brought the 
> alternative Loom implementation that can be used by ports as the fallback. 
> That fallback does not support JVMTI entirely, so lots of tests fail. Some 
> JVMTI is still supported, so cutting off at `@requires vm.jvmti` seems too 
> broad. They should be predicated with `@requires vm.continuations` to be 
> skipped when fallback is used.
> 
> This also allows reverting relevant x86_32 problemlist exclusions.
> 
> Additional testing:
>  - [x] Linux x86_32 fastdebug, `serviceability/jvmti` works, many tests 
> skipped
>  - [x] Linux x86_64 fastdebug, `serviceability/jvmti` still works, with all 
> current tests executing

Marked as reviewed by rehn (Reviewer).

-

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


Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Alan Bateman
On Thu, 2 Jun 2022 09:54:31 GMT, Aleksey Shipilev  wrote:

> [JDK-8287496](https://bugs.openjdk.java.net/browse/JDK-8287496) brought the 
> alternative Loom implementation that can be used by ports as the fallback. 
> That fallback does not support JVMTI entirely, so lots of tests fail. Some 
> JVMTI is still supported, so cutting off at `@requires vm.jvmti` seems too 
> broad. They should be predicated with `@requires vm.continuations` to be 
> skipped when fallback is used.
> 
> This also allows reverting relevant x86_32 problemlist exclusions.
> 
> Additional testing:
>  - [x] Linux x86_32 fastdebug, `serviceability/jvmti` works, many tests 
> skipped
>  - [x] Linux x86_64 fastdebug, `serviceability/jvmti` still works, with all 
> current tests executing

Marked as reviewed by alanb (Reviewer).

-

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


Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Aleksey Shipilev
On Thu, 2 Jun 2022 11:05:30 GMT, Alan Bateman  wrote:

> I expect you can unexclude the runtime/* tests from this section too. Also 
> the same section in test/jdk/ProblemList.txt that excludes the tests on 
> x86_32 can be cleaned up too, maybe a separate PR.

Yes, in separate PR. In this PR, I want to deal with JVMTI tests specifically. 
We can take JVMTI tests off the problemlist exactly because of `@requires 
vm.continuations` added in this PR.

-

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


Re: RFR: 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496

2022-06-02 Thread Alan Bateman
On Thu, 2 Jun 2022 09:54:31 GMT, Aleksey Shipilev  wrote:

> [JDK-8287496](https://bugs.openjdk.java.net/browse/JDK-8287496) brought the 
> alternative Loom implementation that can be used by ports as the fallback. 
> That fallback does not support JVMTI entirely, so lots of tests fail. Some 
> JVMTI is still supported, so cutting off at `@requires vm.jvmti` seems too 
> broad. They should be predicated with `@requires vm.continuations` to be 
> skipped when fallback is used.
> 
> This also allows reverting relevant x86_32 problemlist exclusions.
> 
> Additional testing:
>  - [x] Linux x86_32 fastdebug, `serviceability/jvmti` works, many tests 
> skipped
>  - [x] Linux x86_64 fastdebug, `serviceability/jvmti` still works, with all 
> current tests executing

I expect you can unexclude the runtime/* tests from this section too.  Also the 
same section in test/jdk/ProblemList.txt that excludes the tests on x86_32 can 
be cleaned up too, maybe a separate PR.

-

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