Integrated: 8356083: ZGC: Duplicate ZTestEntry symbols in gtests
Joel Sikström
jsikstro at openjdk.org
Tue May 6 09:53:21 UTC 2025
On Mon, 5 May 2025 09:43:50 GMT, Joel Sikström <jsikstro at openjdk.org> wrote:
> Hello,
>
> There are duplicate definitions of ZTestEntry (one in test_zList.cpp and one in test_zIntrusiveRBTree.cpp). This results in a crash when running the ZList tests on slowdebug, where the ZTestEntry symbol from test_zIntrusiveRBTre.cpp is used over the one in test_zList.cpp.
>
> To remove the collision, I've renamed ZTestEntry in test_zIntrusiveRBTre.cpp to ZRBTestEntry, and ZTestEntryCompare to ZRBTestEntryCompare to reflect this change.
>
> I've verified that the gtests run and pass by running them locally on release, fastdebug and slowdebug.
This pull request has now been integrated.
Changeset: ecfaf354
Author: Joel Sikström <jsikstro at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ecfaf354d761bc7034ea8783f4428157ea450207
Stats: 52 lines in 1 file changed: 0 ins; 0 del; 52 mod
8356083: ZGC: Duplicate ZTestEntry symbols in gtests
Reviewed-by: aboldtch, tschatzl
-------------
PR: https://git.openjdk.org/jdk/pull/25029
More information about the hotspot-gc-dev
mailing list