News for hackers. Stuff that matters.
Re:Conservative GC: Is It Really That Bad? by naasking on Thursday February 22, 2018 @08:28AM (#16437374)
Conservative GC would probably work well enough for the JVM because there are no value types or inline arrays which more easily masquerade as roots, ie. a random sequence of bytes as used in crypto or hashing would yield a lot of false positives.

By comparison, the CLR is a much worse fit, because value types and stack/inline/fixed arrays means false positives would be much higher for some applications.

Re:Conservative GC: Is It Really That Bad? by dbg_nsk on Thursday February 22, 2018 @10:43AM (#16438285)
You are right, such things as value types or inline arrays are not introduced in Java language (yet), but still JVM can allocate objects including arrays on the stack if this objects are not escaping into the heap. Of course, not all objects fit this condition, but the problem remains.