Help, My Java Object Vanished (and the GC Is Not at Fault) arraying.de 65 points by todsacerdoti 4 days ago
mands 17 hours ago Great read, both in terms of content, but also the approach to diagnosing the issue and debugging in general.
cluckindan 18 hours ago Check your code block CSS, the font sizes are all over the place on mobile (iOS).By ”you” I mean anyone who has a blog and uses code blocks.
ErikCorry 3 days ago Nice!Why malloc? Surely this is an on-heap object, not malloc allocated? tialaramex 15 hours ago I think you've got yourself confused. The heap is what malloc is allocating. So it's like you said "Surely this is somewhere in Europe, not France?" or "Surely this is a round shape, not a circle?" comex 13 hours ago Not when we’re talking about a JVM, which has its own heap that does not use malloc. tialaramex 5 hours ago The JVM is of course just software. In this case it's mostly software written in C++ and that software allocates "its own heap" using uh... mallochttps://github.com/openjdk/jdk/blob/master/src/hotspot/share...
tialaramex 15 hours ago I think you've got yourself confused. The heap is what malloc is allocating. So it's like you said "Surely this is somewhere in Europe, not France?" or "Surely this is a round shape, not a circle?" comex 13 hours ago Not when we’re talking about a JVM, which has its own heap that does not use malloc. tialaramex 5 hours ago The JVM is of course just software. In this case it's mostly software written in C++ and that software allocates "its own heap" using uh... mallochttps://github.com/openjdk/jdk/blob/master/src/hotspot/share...
comex 13 hours ago Not when we’re talking about a JVM, which has its own heap that does not use malloc. tialaramex 5 hours ago The JVM is of course just software. In this case it's mostly software written in C++ and that software allocates "its own heap" using uh... mallochttps://github.com/openjdk/jdk/blob/master/src/hotspot/share...
tialaramex 5 hours ago The JVM is of course just software. In this case it's mostly software written in C++ and that software allocates "its own heap" using uh... mallochttps://github.com/openjdk/jdk/blob/master/src/hotspot/share...
Great read, both in terms of content, but also the approach to diagnosing the issue and debugging in general.
Check your code block CSS, the font sizes are all over the place on mobile (iOS).
By ”you” I mean anyone who has a blog and uses code blocks.
Nice!
Why malloc? Surely this is an on-heap object, not malloc allocated?
I think you've got yourself confused. The heap is what malloc is allocating. So it's like you said "Surely this is somewhere in Europe, not France?" or "Surely this is a round shape, not a circle?"
Not when we’re talking about a JVM, which has its own heap that does not use malloc.
The JVM is of course just software. In this case it's mostly software written in C++ and that software allocates "its own heap" using uh... malloc
https://github.com/openjdk/jdk/blob/master/src/hotspot/share...