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

Johan Vos jvos at openjdk.org
Fri Feb 6 14:56:38 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.

Marked as reviewed by jvos (Reviewer).

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

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


More information about the openjfx-dev mailing list