GC cause application threads were stopped long time (16 seconds) in Windows XP

Holger Hoffstätte holger.hoffstaette at googlemail.com
Fri Sep 28 04:59:26 PDT 2012


On Fri, Sep 28, 2012 at 1:36 PM, Vitaly Davidovich <vitalyd at gmail.com> wrote:
> This is standard windows behavior.  When you minimize an app, the kernel
> will trim the working set of the app.  What this means is that the resident
> memory pages *may* (depends on what else is running) get swapped out to disk
> so that they can be used by other foreground processes.

Exactly - this affects not only Java applications, however they suffer
the most since GC typically has fairly bad locality. Here is the
eclipse bug with discussion and several pointers to fixes that OP can
add to his application:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=85072

-h


More information about the hotspot-gc-use mailing list