76 points · by todsacerdoti · 1y ago · 9 comments
By ”you” I mean anyone who has a blog and uses code blocks.
Why malloc? Surely this is an on-heap object, not malloc allocated?
https://github.com/openjdk/jdk/blob/master/src/hotspot/share...
Help, My Java Object Vanished (and the GC is Not at Fault)
Today I’m going to talk about a recent journey as a HotSpot Java Virtual Machine developer working on the OpenJDK project. While running tests for a new feature, I realized my Java objects and classes were arbitrarily disappearing! What followed was probably the most interesting debugging and fixing experience of my life (so far), which I wanted to share with the world.
Paul Hübner