Close Menu
Şevket Ayaksız

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Best VPN Discounts This Month

    Mayıs 12, 2025

    Orb Offers Continuous Internet Performance Insights

    Mayıs 10, 2025

    MSI Claw Handhelds See 10% FPS Increase with Intel’s Latest Update

    Mayıs 10, 2025
    Facebook X (Twitter) Instagram
    • software
    • Gadgets
    Facebook X (Twitter) Instagram
    Şevket AyaksızŞevket Ayaksız
    Subscribe
    • Home
    • Technology

      Orb Offers Continuous Internet Performance Insights

      Mayıs 10, 2025

      MSI Claw Handhelds See 10% FPS Increase with Intel’s Latest Update

      Mayıs 10, 2025

      Ryzen 8000 HX Series Brings Affordable Power to Gaming Laptops

      Nisan 10, 2025

      Today only: Asus OLED laptop with 16GB RAM drops to $550

      Nisan 6, 2025

      Panther Lake: Intel’s Upcoming Hybrid Hero for PCs

      Nisan 5, 2025
    • Adobe
    • Microsoft
    • java
    • Oracle
    Şevket Ayaksız
    Anasayfa » OpenJDK Explores Async Stack Traces for Java
    java

    OpenJDK Explores Async Stack Traces for Java

    By mustafa efeTemmuz 16, 2024Yorum yapılmamış3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    OpenJDK Proposal: Async Stack Traces API for Java

    The proposal for introducing asynchronous stack traces in Java under the OpenJDK’s Java enhancement process marks a significant step towards enhancing profiling capabilities and debugging support within the Java Virtual Machine (JVM) ecosystem.

    Named the Asynchronous Stack Trace VM API, this initiative aims to define a standardized AsyncGetStackTrace API. This API would enable the collection of stack traces asynchronously, encompassing both Java and native stack frames. The primary objective is to streamline the retrieval of comprehensive stack trace information, crucial for profiling tools and debugging scenarios, including scenarios involving signal handlers and asynchronous events.

    One of the key benefits touted by the proposal is the provision of a robust API that is well-tested and suitable for integration with existing profilers. Unlike the current AsyncGetCallTrace API, which is internal and limited to Java frames, the AsyncGetStackTrace API seeks to bridge these gaps by providing broader insights into both Java and native frames. This expanded capability is particularly valuable for diagnosing performance bottlenecks and optimizing JVM behavior across diverse application workloads.

    In terms of performance considerations, the proposal emphasizes minimal impact when the API is not actively used, ensuring that overhead and memory requirements remain manageable compared to its predecessor. Addressing concerns about stability, the proposal highlights ongoing efforts in testing and fuzzing to mitigate potential JVM crashes, thus ensuring reliability in production environments.

     

     

    Presently, profilers like async-profiler rely on AsyncGetCallTrace despite its limitations. These limitations include its internal nature and the restricted scope of information it provides, which complicates the development of robust profiling tools. With the AsyncGetStackTrace API, developers can expect enhanced visibility into critical details such as inlined Java frames, compilation levels, and deeper insights into C/C++ frames integrated with Java applications via JNI.

    Modeled after the existing AsyncGetCallTrace API, the new AsyncGetStackTrace API is poised to offer expanded functionality and broader utility across the Java ecosystem. While not yet targeted for inclusion in a specific Java version like JDK 20, expected in March 2023, the proposal represents a proactive step towards enriching Java’s profiling and debugging capabilities to meet evolving developer needs in performance tuning and diagnostic tooling.

    In conclusion, the introduction of the Asynchronous Stack Trace VM API underscores OpenJDK’s commitment to enhancing Java’s versatility and performance management capabilities. By facilitating more granular and comprehensive stack trace collection, Java developers and system administrators stand to benefit from improved visibility into application behavior and performance characteristics across varied deployment scenarios.

    Post Views: 120
    java Programming Languages Software Development
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    mustafa efe
    • Website

    Related Posts

    The Cot framework simplifies web development in Rust

    Nisan 29, 2025

    IBM Acquires DataStax to Enhance WatsonX’s Generative AI Strength

    Nisan 29, 2025

    Google Launches Free Version of Gemini Code Assist for Individual Developers

    Nisan 29, 2025
    Add A Comment

    Comments are closed.

    Editors Picks
    8.5

    Apple Planning Big Mac Redesign and Half-Sized Old Mac

    Ocak 5, 2021

    Autonomous Driving Startup Attracts Chinese Investor

    Ocak 5, 2021

    Onboard Cameras Allow Disabled Quadcopters to Fly

    Ocak 5, 2021
    Top Reviews
    9.1

    Review: T-Mobile Winning 5G Race Around the World

    By sevketayaksiz
    8.9

    Samsung Galaxy S21 Ultra Review: the New King of Android Phones

    By sevketayaksiz
    8.9

    Xiaomi Mi 10: New Variant with Snapdragon 870 Review

    By sevketayaksiz
    Advertisement
    Demo
    Şevket Ayaksız
    Facebook X (Twitter) Instagram YouTube
    • Home
    • Adobe
    • microsoft
    • java
    • Oracle
    • Contact
    © 2025 Theme Designed by Şevket Ayaksız.

    Type above and press Enter to search. Press Esc to cancel.