Dissecting the CPU-memory relationship in garbage collection (OpenJDK 26)

https://norlinder.nu/posts/GC-Cost-CPU-vs-Memory/

#HackerNews #Dissecting #CPU-memory #GarbageCollection #OpenJDK26 #CPU #Memory

Dissecting the CPU-Memory Relationship in Garbage Collection

Every time you configure a Java application’s heap size, you are essentially making a trade-off: spending more on infrastructure to improve performance metrics such as throughput or latency. Historically, this trade-off was visible when an undersized heap triggered long pauses, signaling a need for more resources. With modern collectors, however, pause duration and computational effort have become decoupled. This creates an operational blind spot: dashboards may show excellent response times, while the collector silently consumes excess compute capacity to compensate for a constrained heap. To address this, it is essential to look beyond GC pauses and examine overall efficiency using new tools. This article, therefore, analyzes why we need additional metrics for infrastructure efficiency and introduces the new Java API for GC CPU in OpenJDK 26, which empowers engineers and researchers to quantify the collector’s CPU overhead and make informed memory-CPU trade-off decisions.

Jonas Norlinder

As a reminder, it's good #OpSec regularly to purge any paedophiles from your #network.

#GarbageCollection

It’s About to Get a Lot Easier for Your JavaScript to Clean Up After Itself, by @Wilto (@piccalil.li):

https://piccalil.li/blog/its-about-to-get-a-lot-easier-for-your-javascript-to-clean-up-after-itself/

#javascript #garbagecollection

It’s about to get a lot easier for your JavaScript to clean up after itself

There’s some very useful capabilities coming to JavaScript: “[Symbol.dispose]()” and “using”. Mat Marquis is here to explain why they’re coming and how to use them effectively.

Piccalilli

Lambda Captures Entire Scope Consuming 47GB RAM?!

LAMBDA MEMORY DISASTER! Closures capture ALL local variables! 1M lambdas × 5KB = 5GB RAM! Can't garbage collect! System thrashing! Event handlers lost! $890K recovery! Architect FIRED!

#python #pythondisaster #lambda #closure #memoryleak #productionbug #pythonshorts #pythonwtf #scopecapture #careerending #eventhandlers #garbagecollection

https://www.youtube.com/watch?v=ki3Z2IXO8Qc

Lambda Captures Entire Scope Consuming 47GB RAM?! #memoryleak

YouTube
Corner Brook's new automated garbage collection is learning curve for staff, residents
The City of Corner Brook launched a new garbage collection system in mid-January that features automated garbage trucks and a new schedule for recycling pick-up. The city says the changes will cut down on some costs and make the work easier for staff. But it may ...
#garbagecollection #recycling #CornerBrook
https://www.cbc.ca/news/canada/newfoundland-labrador/corner-brook-automated-garbage-9.7066942?cmp=rss

PHP 8.5 Garbage Collection Improvements for Enums and Closures

https://phpc.tv/w/sirFM1ounij7WaJ3WXjFfx

PHP 8.5 Garbage Collection Improvements for Enums and Closures

PeerTube
Memory management remains the primary factor for application performance in enterprise Java environments. Between 2017 and 2025, the ecosystem shifted from manual tuning to architectural selection. Industry data suggests that 60 percent of Java performance issues and 45 percent of...
#garbagecollection #Java #javacore #JavaGarbageCollection #ZGarbageCollector
https://foojay.io/today/the-ultimate-10-years-java-garbage-collection-guide-2016-2026-choosing-the-right-gc-for-every-workload/
foojay – a place for friends of OpenJDK

foojay is the place for all OpenJDK Update Release Information. Learn More.

foojay
The Manchester Garbage Collector and purple-garden's runtime

A deep dive into purple-garden’s runtime and semispace copying garbage collector with explicit root enumeration and bump allocation

Modern JVM Garbage Collection

PeerTube