On Sat, 14 Nov 2026 19:27:59 GMT, Richard Reingruber <[email protected]> wrote:

> We have to define `GTEST_HAS_PTHREAD=1` on aix since there are tests now that 
> use gtest's `SCOPED_TRACE` in worker threads which relies on a proper 
> implementation of gtest's `ThreadLocal` (see issue).
> 
> Testing:
> 
> 
> function repro() { \
>     local B=`readlink -f .` ; \
>     LIBPATH=$B/images/test/hotspot/gtest/server/ \
>     $B/images/test/hotspot/gtest/server/gtestLauncher \
>     -jdk $B/images/jdk \
>     -Xmx200m \
>     --gtest_output=xml:test_result.xml \
>     --gtest_catch_exceptions=0 \
>     --gtest_filter='AtomicAccessBitops.concurrent_uint64_vm' \
>     ; \
>     }
> while repro ; do echo OK ; done 
> 
> 
> With the change the issue doesn't reproduce anymore.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by erikj (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/33909#pullrequestreview-5920891011

Reply via email to