Reply to post: Garbage collection supported?

Just one Corretto, give it to me... AWS brews its own blend of Java with free long-term support

cat_mara
Joke

Garbage collection supported?

"BREAKING NEWS: Beta users of Amazon's off-brand not-Java Corretto were last night disturbed to learn that the language does not feature garbage collection.

"A touted feature of the language since its inception in the 90s, garbage collection automatically reclaims Java objects when they no longer referenced, freeing developers from micro-managing storage lifetimes and avoiding the hard-to-find memory leaks that often plagues code written in languages like C and C++, according to its proponents.

"However, users running their Java programs under the Corretto runtime found that they eventually ran out of memory and crashed.

"'We regard garbage collection as something akin to a software bathroom break,' an Amazon spokesperson declared, 'and therefore bad for productivity. So we decided not to include this feature in our implementation of not-Java.'

"Instead, Amazon have instead proposed that objects 'ask their manager' if they can go to the garbage collector in much the same way as their warehouse employees have to ask to use the bathroom. This will be implemented as a new function, Foreman Request Excretory Excursion or free() for short, to be implemented as a new method on the java.lang.Object class.

"More news as we get it...

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon