The calculation of the GC overhead for the UseGCOverheadLimit option includes the GC costs for all full GC's. This calculation should not include explicit GC's (System.gc()) because those have been requested by the application and such an action should not induce an out-of-memory because of excessive GC costs.
|