The first of two articles by @parttimenerd of #SweetSapMachine covering the draft of a new iterator-based stack walking #Java API, which builds the base for the follow-up article on safepoint-based profiling!
https://foojay.io/today/asyncgetcalltrace-reworked-frame-by-frame-with-an-iterative-touch/
#sweetsapmachine #java #foojaytip
Have you ever wondered how safepoints are implemented in the #OpenJDK? Follow @parttimenerd from #SweetSapMachine down the rabbit hole into the inner workings of the JVM!
#openjdk #sweetsapmachine #foojaytip
On Foojay :foojay:, @parttimenerd of #SweetSapMachine announces his brand new utility for #VSCodeJava to enable and simplify debugging when using jtreg, the test harness used by the Java JDK test framework.
https://foojay.io/today/debugging-openjdk-tests-in-vscode-without-losing-your-mind
#foojaytip
#sweetsapmachine #vscodejava #foojaytip
First he profiled his #Java code, then he created his own Java profilers, and now @parttimenerd of #SweetSapMachine is profiling the world! Check out his ongoing trip report on Foojay :foojay: Today!
#java #sweetsapmachine #foojaytip
Understanding class loader hierarchies is essential when developing instrumenting #Java agents. So @parttimenerd from #SweetSapMachine wrote an article about it on Foojay :foojay: Today!
#java #sweetsapmachine #foojaytip
Join @parttimenerd #SweetSapMachine on Foojay :foojay: and learn to write reproducible #Java profiling APIs to make it easier to check how a profiling API reacts to different scenarios!
#sweetsapmachine #java #foojaytip
Programmatic usage of the Async-profiler by @parttimenerd from #SweetSapMachine, using it in a library to gather profiling data of processes, including converters from JFR to flamegraphs with jattach to attach a native agent dynamically to JVM, plus commands!
https://foojay.io/today/using-async-profiler-and-jattach-programmatically-with-ap-loader/
"Why is #AsyncGetCallTrace always called in the signal handler on top of the stack that we want to walk? Couldn't we just use AsyncGetCallTrace in a separate thread?" Find out about the questions that keep @parttimenerd from #SweetSapMachine up at night!
https://foojay.io/today/couldnt-we-just-use-asyncgetcalltrace-in-a-separate-thread/
#asyncgetcalltrace #sweetsapmachine #foojaytip
Ever wondered how to find #Java classes and dependencies that you don't actually use? Here @parttimenerd from #SweetSapMachine describes on Foojay :foojay: Today how to implement your own instrumenting #Java agent.
https://foojay.io/today/instrumenting-java-code-to-find-and-handle-unused-classes/
#java #sweetsapmachine #foojaytip
"Profilers are not rocket science," @parttimenerd from #SweetSapMachine explains on Foojay :foojay: Today, and then continues his mission of demystifying the inner workings of profilers by writing one in 240 lines of pure #Java!
https://foojay.io/today/writing-a-profiler-in-240-lines-of-pure-java
#sweetsapmachine #java #foojaytip
Famously, last week, @parttimenerd from #SweetSapMachine undermined every developer's faith in profilers ("Do You Trust Profilers? I Once Did Too.") This week, he makes things better by showing you how to automate the discovery of bugs in #Java profilers. Read it on Foojay :foojay: Today.
#sweetsapmachine #java #foojaytip
Ever wondered how to use the #Firefox Profiler to view your own #Java profiling data? In this brand new Foojay :foojay: Today article, by #SweetSapMachine @parttimenerd, gives you the foundations!
https://foojay.io/today/using-firefox-profiler-beyond-the-web
#firefox #java #sweetsapmachine #foojaytip
How do profilers like #asyncprofiler work? How to write your own? Get your intense coding hat on because this brand new series by @parttimenerd from #SweetSapMachine tries to write a tiny sampling-based #profiler from scratch! Check it out on Foojay :foojay: Today...
https://foojay.io/today/writing-a-profiler-from-scratch-introduction
#asyncprofiler #sweetsapmachine #profiler #foojaytip