RFR: 8353190: Use "/native" Run Option for TestAvailableProcessors Execution
Saint Wesonga
duke at openjdk.org
Fri Mar 28 18:11:47 UTC 2025
On Wed, 26 Feb 2025 14:17:31 GMT, Oleksii Sylichenko <duke at openjdk.org> wrote:
> Currently, the test executes the program using `test.nativepath`, but it relies on path resolution. I propose following standard conventions in this case and running the test with the `/native` option instead.
>
> With this change:
> - Path resolution is no longer required.
> - If `nativepath` is not specified at runtime, a standard error message will be printed to the console.
>
> This improves consistency and simplifies the test execution process.
>
> I kindly ask the original author of the test @swesonga and those who reviewed the original pull request #17576 for this test to take a look at this PR: @jdksjolen and @dholmes
Hi @asilichenko, is there a JBS issue for this fix? I do see the improved error message when the -nativepath argument is not provided. Thanks for the improvement.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23803#issuecomment-2689969156
More information about the hotspot-runtime-dev
mailing list