Add aarch_64 native libraries for epoll, kqueue, and TLS

Description

Suggested release note:

The SDK now includes native libraries for IO and TLS that can enhance performance on `aarch_64` architectures like Graviton and Apple Silicon. Previously, native libraries were included only for `x86_64` architectures.

Native libraries for IO and TLS are enabled by default. If you need to disable native IO, set the `ioEnvironment.enableNativeIo` client setting to false. To disable native TLS, set the `security.enableNativeTls` client setting to false.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

David Nault December 9, 2022 at 11:39 PM
Edited

We could consider dropping native TLS for `osx-x86_64`, since:

  • Native TLS has been broken on all platforms since 3.2.7 and nobody complained.

  • Apple Silicon is the future of osx.

David Nault December 9, 2022 at 11:30 PM
Edited

The aarch64 native libraries add ~1.7 MiB to core-io.jar. Nearly all of that is for TLS; epoll and kqueue are tiny.

Unresolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created December 9, 2022 at 10:52 PM
Updated January 6, 2023 at 2:04 AM
Instabug