3,200% CPU Utilization

2 years ago by maxint to c/java

A while back my machine was so messed up that I could barely ssh onto it. 3,200% CPU utilization - all 32 cores on the host were fully utilized! Compare that to my last bug where it only used 1 core, 100% Fortunately, it was using Java 17 runtime which...
Scoopta 2 points 2 years ago

Hmmm, this is a really interesting article. I always make it a habit that every time I have multiple threads accessing a data structure I use the Collections.synchronized methods to create the structure so as to avoid race conditions. This just gives me another data point as to why that's a good idea.

path: 0 15394717, hotness: undefined, score: 2, children: 0
java
java

@programming.dev

login for more options
2059
259
9

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

go to feed...