by pdeva1 · 11y ago · 0 comments
Even in native code, it is wrong to have a pointer to managed memory without using the Global/Local Ref() methods that the jvm provides.
In summary, the jvm is behaving correctly with respect to GC. Author doesn't know how to use JNI and has caused the crash.
>The dashboard was written in Java, and the source was available (under a 3-clause BSD license), so I dove in, (...)
Also, nowhere in the post he says that it is JVM's fault.
He says it was the JVM or the compiler's fault. He doesn't blame the code.