SIGN IN SIGN UP

fix(init): Reduce allocations and bytecode instructions during Sentry.init (#5135)

* fix(init): Perform less allocation/bytecode instructions in Sentry.init

* Switch new thread to executorService in AssetsModulesLoader

* activate options earlier

* changelog

* fix: Prevent SpotlightIntegration from being re-added after user removal

Use AtomicBoolean to ensure activate() only loads SpotlightIntegration
once, so users can remove it in their configuration callback without
it being re-added by the second activate() call from Sentry.init().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
R
Roman Zavarnitsyn committed
5a20352b4a4493259a3a889424e915d614655871
Parent: 9054d65
Committed by GitHub <noreply@github.com> on 3/3/2026, 9:17:18 AM