Menu

Write Once, Debug Everywhere
📰

Write Once, Debug Everywhere

DEV Community: java·Chaesang Jung·about 1 month ago
#kEkJOjee
#devtojava#devto#dev#java#remember
Long article (559 words) — no AI summary yet.
Reading 0:00
15s threshold

The GC that let me stop calling free, the JVM I patched by hand, and a slogan that came true — just late, and never clean.

A look back — long before any of the tools we argue about now.

You Don't Have to Free It?

C and C++ turned into a different language the moment pointers and malloc showed up; every assignment became a war with segmentation faults and core dumps. Then a new language appeared, with a garbage collector running underneath — allocate, use, and never free. I remember being genuinely happy about that. But for various reasons, when the GC kicked in on the JVM the whole system could grind nearly to a halt, and dodging those pauses felt like a game of hot potato. Just don't blow up on my watch.

I grumbled my way through a lot of JVM work after that, and there were stretches where any performance problem meant rewriting the whole thing in C. Later I saw plenty of the reverse, too, and as stranger and more wonderful languages kept arriving, the memories faded.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.