-4

I understand the uses for benchmarking between different garbage collectors and JVM developers.

Also for extremely efficient programs that don't create garbage then not having a garbage collector is useful, also for very short lived programs.

What are some other use cases for this garbage collector?

Karol Dowbecki
  • 43,645
  • 9
  • 78
  • 111
CommonSenseCode
  • 23,522
  • 33
  • 131
  • 186

1 Answers1

8

The goals of this collector are described in JEP 318: Epsilon: A No-Op Garbage Collector:

  • Performance testing.
  • Memory pressure testing.
  • VM interface testing.
  • Extremely short lived jobs.
  • Last-drop latency improvements.
  • Last-drop throughput improvements.

The performance testing features can be very useful since the test environment will be much more predictable without GC potentially kicking in and performing expensive stop-the-world full GC cycle.

Karol Dowbecki
  • 43,645
  • 9
  • 78
  • 111