Integrated: 8353190: Use "/native" Run Option for TestAvailableProcessors Execution

Oleksii Sylichenko duke at openjdk.org
Thu Apr 24 12:52:54 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

This pull request has now been integrated.

Changeset: 34c4d895
Author:    Oleksii Sylichenko <a.silichenko at gmail.com>
Committer: SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/34c4d895ca321508c24b13338900d617679aadae
Stats:     12 lines in 1 file changed: 0 ins; 8 del; 4 mod

8353190: Use "/native" Run Option for TestAvailableProcessors Execution

Reviewed-by: dholmes

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

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


More information about the hotspot-runtime-dev mailing list