Custom Events in the Blocky World: Using JFR in Minecraft
mostlynerdless.de
mostlynerdless.de
I find it both an interesting challenge to discover what people mean when they confidently toss out acronyms, while also an annoyance for randomly throw out acronyms.
> Commands/jfr
> Commands Starts and stops profiling with Java FlightRecorder (…)
There was a big push to determine the performance impact of enlarging the world height for the caves and cliffs update.
Really glad to see people playing with the events.
* Monitoring invocations of a REST API: https://www.morling.dev/blog/rest-api-monitoring-with-custom...
* Tracking SQL queries issued by your ORM: https://www.javaadvent.com/2021/12/keep-your-sql-in-check-wi...
The latter is about injecting event-emitting code with a Java Agent rather than manually implementing custom events (latest Hibernate ORM version comes with JFR support OOTB, too).
Yep, we use custom JFR events to track API calls and correlate them to other built-in JFR events and statistics (garbage collection, memory use, allocations, CPU use, deadlocks, etc).
But. No knock on this guy. I find all STEM writing could be helped a little with some up front what/why/how in introduction.
I want to dig this, but on first scan through, I have no idea what this is doing or why it is cool. So, for getting an article out, if I'm a casual that isn't a die hard user of JFR, then what makes me want to dig deeper? Of course, maybe the goal isn't a wider readership.
Edit: Wow! You've never played Minecraft before? That's crazy!
> 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.