GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Cleanup all AGCT recovery tricks and remove `safemode` option · Issue #1675 · async-profiler/async-profiler

Cleanup all AGCT recovery tricks and remove safemode option #1675

New issue
Copy link
New issue
Copy link
Closed
#1680
Closed
Cleanup all AGCT recovery tricks and remove safemode option#1675
#1680
Copy link
Labels
cleanup

Description

@apangin
apangin
opened on Feb 6, 2026
Issue body actions

Describe the feature

There is a large chunk of intricate code in getJavaTraceAsync to recover from cases when AsyncGetCallTrace fails. AGCT often returns one of ticks_unknown_Java, ticks_not_walkable_Java, ticks_unknown_not_Java, or ticks_not_walkable_not_Java error codes. When async-profiler encounters these errors, it attempts to adjust SP/FP or otherwise "fix" stack layout and retry AGCT call. Such adjustments are not reliable, they caused several issues in the past. safemode option was introduced to selectively disable recovery techniques for troubleshooting purposes.

After switching to vm stack walker by default, maintaining this fragile code is no longer reasonable.

Use Case

AsyncGetCallTrace remains only for Zing which does not have VMStructs.
However, AGCT recovery tricks are not used on Zing anyway, so it's safe to remove them.

Proposed Solution

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Activity

  1. apangin
    added
    enhancement
    on Feb 6, 2026
  2. apangin
    added a parent issue on Feb 6, 2026
    • Deprecate AsyncGetCallTrace #1533
  3. apangin
    added
    cleanup
    and removed
    enhancement
    on Feb 6, 2026
  4. apangin
    added a commit that references this issue on Feb 7, 2026

    #1675: Cleanup AGCT recovery tricks and remove safemode option

    f36ae37
  5. apangin
    closed this as completedin #1680on Feb 8, 2026
  6. apangin
    added a commit that references this issue on Feb 8, 2026

    #1675: Cleanup AGCT recovery tricks and remove `safemode` option

    0023021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.