I have a fairly unique Java service I'm working on that has a working set in the order of 50-100 GBs. Within the service I have a very complicated object graph. The vast majority of these objects live for the entirety of the process lifecycle and will never be collected.
Currently I have garbage collection times of around 10 seconds for the old generation heap. I'm wondering if there's any way to exclude these objects to speed up the performance of my garbage collection?