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

Ambarish Rapte arapte at openjdk.org
Fri Feb 6 08:23:29 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.

LGTM..

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

Marked as reviewed by arapte (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/2065#pullrequestreview-3761496352


More information about the openjfx-dev mailing list