News for hackers. Stuff that matters.
Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses by voidnullnil on Friday September 17, 2021 @11:34AM (#28566668)
It's more like this:

C diehards: Pauses are bad, we need manual memory management.

Everyone else: Does not have manual memory management.

Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses by moonchild on Friday September 17, 2021 @03:49PM (#28570173)
> Does not have manual memory management

That is a misunderstanding.

If you would like to avoid pauses in c, you must be careful about how you allocate, what you put where, &c; you cannot simply use malloc and free. Similarly, if you would like to avoid pauses in a gc language, you must be careful about how you allocate, what you put where, &c; you cannot simply allocate.

These techniques are actionable in any language. Java 'has' automatic memory management, but it also 'has' manual memory management (if you implement it).

Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses by voidnullnil on Saturday September 18, 2021 @12:23PM (#28577344)
Not without relying on implementation details.
Re:Shenandoah in OpenJDK 17: Sub-millisecond GC pauses by moonchild on Saturday September 18, 2021 @07:28PM (#28580287)
? no

In almost any language with automatic memory management, I can portably make my own freelists, regions, temporary (reused) buffers, ...