Integrated: 8377316: [iOS] App crashes due to GlassThreadDataKey not initialized

Jose Pereda jpereda at openjdk.org
Fri Feb 6 15:00:11 UTC 2026


On Thu, 5 Feb 2026 19:05:06 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

> This PR moves the pthread initialization outside the assertion, which is typically ignored as `NDEBUG` is defined in the compilation phase. Therefore a possible runtime crash is prevented if the pthread initialization is bypassed in such case.

This pull request has now been integrated.

Changeset: 60139bd0
Author:    Jose Pereda <jpereda at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/60139bd0298e7cb60391ba9e683670091843769b
Stats:     3 lines in 1 file changed: 1 ins; 0 del; 2 mod

8377316: [iOS] App crashes due to GlassThreadDataKey not initialized

Reviewed-by: arapte, jvos

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

PR: https://git.openjdk.org/jfx/pull/2065


More information about the openjfx-dev mailing list