Integrated: 8292679: Simplify thread creation in gtest and port 2 tests to new way

Johan Sjölén duke at openjdk.org
Wed Aug 24 15:54:39 UTC 2022


On Mon, 22 Aug 2022 10:53:27 GMT, Johan Sjölén <duke at openjdk.org> wrote:

> This PR removes a lot of boilerplate that was required when creating multi-threaded tests and ports 2 tests to show that the number of lines of code is significantly reduced and that porting is fairly trivial. The ported tests also serve as an introduction to others who're looking into writing their own multi-threaded tests.
> 
> Testing: Ran the ported tests on my machine, also running the tests on x64 {Windows, Linux, Mac OS X],  aarch64 { Linux, Mac OS X} and tier1 for "completeness".

This pull request has now been integrated.

Changeset: 69448f9c
Author:    Johan Sjölén <johan.sjolen at oracle.com>
Committer: Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/69448f9c1a9b123be8ef63bb039111a8976a8da6
Stats:     204 lines in 3 files changed: 85 ins; 75 del; 44 mod

8292679: Simplify thread creation in gtest and port 2 tests to new way

Reviewed-by: rehn, coleenp, stuefe

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

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


More information about the hotspot-dev mailing list