Re:LSE Halts
by axod on Friday February 25, 2011 @07:24AM
(#2261925)
GC isn't a problem for realtime systems, if configured correctly. For example, have the GC running incrementally in a separate thread.
[ Parent
| on HN ]
Re:LSE Halts
by CountHackulus on Friday February 25, 2011 @11:08AM
(#2262584)
Close, you do need to stop the world every once in a while to GC some of the harder stuff.
But it's true, there's flavors of Java that are certified for hard realtime. If you stop the GC for 100ms every 2s regardless if you need it or not, that's pretty nice and predictable behavior for a realtime system.
100ms is an eternity. You can do GC with 1ms pauses.
http://www.infoq.com/articles/azul_gc_in_detail, for one example.