Using CMS, any chance of forewarning a serial full GC is imminent?

Maslowski, Chuck MASLOWSC at
Sat Mar 20 19:11:38 UTC 2010

Ramki gave us this D script awhile back. In our case we wanted to kill
the process should this occur.

  self->partial = !arg0;

/ self->partial && copyinstr(arg0) == "ConcurrentMarkSweep" &&
copyinstr(arg2) == "CMS Old Gen" /
  system("kill %d", pid);

More information about the hotspot-gc-dev mailing list