Help, My Java Object Vanished (and the GC Is Not at Fault) arraying.de 66 points by todsacerdoti 4 days ago
cluckindan a day 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.
mands 21 hours ago Great read, both in terms of content, but also the approach to diagnosing the issue and debugging in general.
ErikCorry 3 days ago Nice!Why malloc? Surely this is an on-heap object, not malloc allocated? tialaramex 19 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 17 hours ago Not when we’re talking about a JVM, which has its own heap that does not use malloc. tialaramex 9 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 19 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 17 hours ago Not when we’re talking about a JVM, which has its own heap that does not use malloc. tialaramex 9 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 17 hours ago Not when we’re talking about a JVM, which has its own heap that does not use malloc. tialaramex 9 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 9 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...
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.
Great read, both in terms of content, but also the approach to diagnosing the issue and debugging in general.
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...