RFR: 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest

David Holmes dholmes at openjdk.org
Wed Nov 30 23:58:26 UTC 2022


On Wed, 30 Nov 2022 22:17:59 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>>> I could not find an @requires incantation for saying do-not-use-slowdebug-bits nor one for saying do-not-use-macosx-aarch64. 
>> 
>> Something like:
>> 
>> `@requires vm.debug != slowdebug`
>> `@requires !(os.arch == "aarch64" && os.family == "mac")`
>
> @dholmes-ora - please let me know if you are okay with these fixes since
> the @requires idea did not work.

@dcubed-ojdk  no objection from me. I was just offering what I hoped was a solution. But I see now that `vm.debug` is treated as a boolean: true for `slowdebug` and (fast)`debug`; and false otherwise. We would have to add a new property to `jtreg-ext/requires/VMProps.java` to allow checking for `slowdebug`.

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

PR: https://git.openjdk.org/jdk/pull/11278


More information about the serviceability-dev mailing list