Sun.Apr 21, 2019

article thumbnail

How to Tune Garbage Collection in Java

DZone

Garbage collection is the mechanism by which the JVM reclaims memory on behalf of the application when it's no longer needed. At a high level, it consists of finding objects that are no longer in use, freeing the memory associated with those objects, and occasionally compacting the heap to prevent memory fragmentation. The garbage collector performs it's work using one or more threads.

Tuning 277
article thumbnail

The Push and Pull of Paradox

Edge Perspectives

Paradox is everywhere We just have to see it But first we must look And want to see But we don’t. We crave understanding And simplicity. Paradox makes us uncomfortable. We want order And harmony. And paradox challenges that. We push paradox Out of sight. But if we’re driven to learn, Paradox has powerful pull. Paradox can propel us To new levels. It invites us to explore And challenges our beliefs.

70
article thumbnail

O(n^2) in CreateProcess

Randon ASCII

So many possible introductions to this one: Windows 7: Sheesh, I sure am slow at creating processes. Windows 10: Hold my beer…. Or how about: A) How long does CreateProcess take on Windows? B) How long would you like it to take? A) You mean you can make it as fast as I want? B) No, I can make it as *slow* as you want. O(n^2) algorithms that should be linear are the best.