News for hackers. Stuff that matters.

parttimenerd

Re:How to waste CPU like a Professional on Tuesday September 23, 2025 @04:40AM (#45344399)
I'm glad you like my article. I wasted far too much time researching and profiling my solutions. I'm writing a blog post every one to two weeks, so I hope you'll come back.
Re:Java 25's new CPU-Time Profiler (1) on Saturday September 13, 2025 @12:50PM (#45233469)
(author here)

Xcode doesn't know about Java's internals, so it doesn't know about Java frames, although it can help with native traces.

Re:Java 25's new CPU-Time Profiler (1) on Saturday September 13, 2025 @12:39PM (#45233390)
Thanks for the recommendation.
Re:Java 25's new CPU-Time Profiler (1) on Saturday September 13, 2025 @12:09PM (#45233200)
(author here) This is part of a series of blog post. The next blog posts are: https://mostlynerdless.de/blog/2025/07/30/java-25s-new-cpu-t... (on the implementation) https://mostlynerdless.de/blog/2025/08/25/java-25s-new-cpu-t... (on sizing the queue) and a fourth on improving the performance: https://mostlynerdless.de/blog/2025/09/01/java-25s-new-cpu-t...
Re:Java 25's new CPU-Time Profiler (1) on Saturday September 13, 2025 @12:06PM (#45233182)
And a thank you to all the other amazing companies. The work on the JEP is chiefly sponsored by SAP (with help from Datadog and Amazon).
Learn how to find bugs in the code transformation of Spring and Mockito by instrumenting their instrumenters. (I'm the author, AMA)
Re:C Struct Layoutings on Wednesday March 27, 2024 @04:21AM (#39836673)
(I'm the author) Every wondered how C data structures are layouted and aligned in memory? Every wondered how C data structures are layouted and aligned in memory? This is the topic of the newest blog post in my hello-ebpf series.
Re: on Monday January 01, 2024 @10:25AM (#38832395)
I'm the author, ask me anything
Re: on Wednesday December 20, 2023 @08:58AM (#38708723)
Many JFR events don't have any descriptions, so I tried to autogenerate them using AI. I'm the author, ask me anything.
Re: on Monday December 11, 2023 @03:19AM (#38598641)
With the upcoming Java version, you can easily use native functions.

I'm the author.

Re: on Monday December 04, 2023 @06:56AM (#38516201)
I'm the author. I just released a new version of my open-source profiling plugin for IntelliJ, which allows you to profile Maven projects.
Sometimes all you need is a list to find all the used classes, methods, and functions of a Python module, to proceed with your secret side project. Using sys.settrace makes it possible to write a small helper tool for this purpose with ease.

I'm the author, AMA.

Re:Custom Events in the Blocky World: Using JFR in Minecraft on Wednesday November 29, 2023 @05:22AM (#38457663)
I'm happy for any reader of my blog :)
Re:Custom Events in the Blocky World: Using JFR in Minecraft on Tuesday November 28, 2023 @12:01PM (#38447953)
You might be interested in a proposal by Jaroslav Bachorik to add context into JFR. I wrote a short introduction on my blog "Putting JFR into Context" (https://mostlynerdless.de/blog/2023/10/19/putting-jfr-into-c...)
Re:Custom Events in the Blocky World: Using JFR in Minecraft on Tuesday November 28, 2023 @11:59AM (#38447927)
That's pretty cool. We could have a chat (me@<blog-url> is my mail address), if you like, I'm always interested in people using profilers in the real-world :)
Re:Custom Events in the Blocky World: Using JFR in Minecraft on Tuesday November 28, 2023 @11:55AM (#38447859)
Thank you Gunnar, I linked to your blog post (and even linked to it already in my previous blog post "Custom JFR Events: A Short Introduction" https://mostlynerdless.de/blog/2023/11/20/custom-jfr-events-...)
Re:Custom Events in the Blocky World: Using JFR in Minecraft on Tuesday November 28, 2023 @11:49AM (#38447793)
I linked now to articles that provide you with more information.
Re:Custom Events in the Blocky World: Using JFR in Minecraft on Tuesday November 28, 2023 @11:49AM (#38447785)
Thanks for the feedback, I added a small disclaimer at the beginning of the article, telling the reader what JFR is and where to find more information.
Re:Custom Events in the Blocky World: Using JFR in Minecraft on Tuesday November 28, 2023 @11:37AM (#38447637)
Thanks, I fixed it.

> Edit: Wow! You've never played Minecraft before? That's crazy!

I don't play computer games (the last game I played was "Thomas was alone"), but I know people that play it more often.

Edit: Link to the game https://de.wikipedia.org/wiki/Thomas_Was_Alone. Nowadays, I like to play whack-a-mole with bugs in the OpenJDK.

Re:Custom Events in the Blocky World: Using JFR in Minecraft on Monday November 27, 2023 @04:46AM (#38430328)
I collected some information here: https://mostlynerdless.de/profiling-talks/
Re:Custom Events in the Blocky World: Using JFR in Minecraft on Monday November 27, 2023 @03:37AM (#38429698)
I'm the author, ask me things.
Re:Virtual Threads/Loom Is Just HyperThreading in Java on Monday November 13, 2023 @03:45PM (#38255141)
I'm the author, ask me things. Comparing Virtual Threads to Hyper-Threading helped me to comprehend the pros and cons of using these new threads :)
Re:Let's create a Python Debugger together on Saturday November 11, 2023 @12:26PM (#38232324)
Thank you, it was my first submission :)
Re:Let's create a Python Debugger together on Saturday November 11, 2023 @12:25PM (#38232319)
3.12 adds new APIs (see blog post), but there are 3 other parts of the series that use an older Python API.

Older »