17 karma · joined Sep 28, 2017 (9y ago) · 9 submissions
Excelsior JET team blog: https://www.excelsiorjet.com/blog My twitter: https://twitter.com/dbg_nsk
comment 8y ago · link · parent
https://bugs.openjdk.java.net/browse/JDK-5014723
Good point about inspecting thread's callstack. Indeed, with conservative GC we had a problem: many popular profilers were incompatible with JET because they inspect threads at safepoints and we had none. When we implemented the precise GC, this problem disappeared and it was an additional benefit for us. However, there are alternative ways to gather thread's callstack out of safepoint. We use them to avoid safepoint bias in our profiler. You can read more about it here:
https://www.excelsiorjet.com/blog/articles/portable-profiler...
----
Thanks for kind words! I'm glad that you liked the post!
comment 8y ago · link · parent
No, I haven't read those papers before, but after your comment I took a look at one of them.. and it is very interesting! Thanks for mentioning it.
But, if I understood correctly, the excess memory retention is still a problem in conservative immix?
comment 8y ago · link · parent
comment 8y ago · link · parent
However, please note, that our conservative GC was also copying (but not full copying) collector, and it also improved locality of references. So an impact on the performance is not so huge as in the case of GC that doesn't provide any compaction at all.
comment 8y ago · link · parent
Of course, there are many other examples of false-roots, but this concrete class caused unexpected OOMs on several applications of our clients, so we made this small sample and used it for sanity checking during implementing precise GC (and then mentioned it in the post).
comment 8y ago · link · parent