Is there such thing as doing a partial mark and sweep during garbage collection, so you don't have to traverse so many objects? Can it be done or is it not realistic? -
![Field Notes: Monitoring the Java Virtual Machine Garbage Collection on AWS Lambda | AWS Architecture Blog Field Notes: Monitoring the Java Virtual Machine Garbage Collection on AWS Lambda | AWS Architecture Blog](https://d2908q01vomqb2.cloudfront.net/fc074d501302eb2b93e2554793fcaf50b3bf7291/2020/09/18/Java-Solution-Overview-1260x349.jpg)
Field Notes: Monitoring the Java Virtual Machine Garbage Collection on AWS Lambda | AWS Architecture Blog
![Introducing Heapothesys, an open source Java GC latency benchmark with predictable allocation rates | AWS Open Source Blog Introducing Heapothesys, an open source Java GC latency benchmark with predictable allocation rates | AWS Open Source Blog](https://d2908q01vomqb2.cloudfront.net/ca3512f4dfa95a03169c5a670a4c91a19b3077b4/2020/05/04/heapothesys_f1-1039x630.png)