From ee5ea16888fb21b03a4a6359443c2111d9f5fc87 Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Fri, 30 Oct 2026 10:26:02 +0100 Subject: [PATCH 1/2] ref(profiling): Promote continuous profiler APIs Remove the experimental annotations from Sentry.startProfiler and Sentry.stopProfiler. The process-global lifecycle API is stable across the JVM and Android profiler implementations, while platform-specific improvements can continue internally. Refs #6408 Refs #4778 Refs #5906 Co-Authored-By: Claude --- sentry/src/main/java/io/sentry/Sentry.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/sentry/src/main/java/io/sentry/Sentry.java b/sentry/src/main/java/io/sentry/Sentry.java index 3f1f36aa8f..5dfac78d46 100644 --- a/sentry/src/main/java/io/sentry/Sentry.java +++ b/sentry/src/main/java/io/sentry/Sentry.java @@ -1173,13 +1173,11 @@ public static void endSession() { } /** Starts the continuous profiler, if enabled. */ - @ApiStatus.Experimental public static void startProfiler() { getCurrentScopes().startProfiler(); } /** Stops the continuous profiler, if enabled. */ - @ApiStatus.Experimental public static void stopProfiler() { getCurrentScopes().stopProfiler(); } From 3e42e16c2dc9230d6b4e35f038f74de0ddf46eaf Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Fri, 30 Oct 2026 10:26:27 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eb80a6a29..d218135453 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,10 @@ - Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243)) - Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096)) +### Improvements + +- Promote continuous profiler start and stop APIs from experimental to stable ([#6426](https://github.com/getsentry/sentry-java/pull/6426)) + ## 8.62.0 ### Improvements