CG in an IDE

R

Roedy Green

I was thinking that GC in an IDE is a little different that usual. If
the user pauses to think, this might be a good time to do a quick GC,
even if memory is not that full.

You are best to do short GCs so that when the user suddenly kicks back
in, you get quick response. The total time spent going GC is not very
important.

I wondered how well Java.exe is designed for an IDE to work that way.
 
T

Thomas Fritsch

Roedy Green said:
I was thinking that GC in an IDE is a little different that usual. If
the user pauses to think, this might be a good time to do a quick GC,
even if memory is not that full.
I think this profile of user-activity is typically not only for IDEs, but
for most (if not all) GUI-centric applications. Most of the time the user
pauses to think or to read something currently displayed in the GUI.
Therefore I think a GC-strategy optimized for GUI-clients will be optimal
for IDEs as well.
 
T

Thomas Hawtin

I think this profile of user-activity is typically not only for IDEs, but
for most (if not all) GUI-centric applications. Most of the time the user
pauses to think or to read something currently displayed in the GUI.
Therefore I think a GC-strategy optimized for GUI-clients will be optimal
for IDEs as well.

A strategy like having GC run mostly concurrently in a low priority thread?

Tom Hawtin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top