Elektrine lite

← Feed

@loke@functional.cafe

Post #1646907

2026-04-20 03:19 UTC

@harald sadly, flight recorder isn't of much help. It can tell me what the code is doing when it's slow, but I already know exactly what functions are being called. That function is just slow. What I think happens is that a certain method gets inlined, and when another method gets called 1e9 times, it cannot get inlined because the first one already got inlined first, somehow? Is there a way to inspect the generated machine code? It's crazy it's come to this, but it's the life of a programming language implementation developer I suppose.

Replies (1)

  • @harald@hub.volse.no 2026-04-20 08:59

    @Elias Mårtenson I thought it should be possible to get information about internal JVM events, like compilation/decompilation etc from the flight recorder as well. Is there a way to inspect the generated machine code? I think you should be able to do this with jhsdb.

    Open ##1646908