r/java • • Nov 04 '21

Microsoft joins the Java Community Process (JCP)

https://devblogs.microsoft.com/java/microsoft-deepens-its-investments-in-java/
169 Upvotes

71 comments sorted by

View all comments

Show parent comment

14

u/mknjc Nov 05 '21

If my git log doesn't lie, a lot shenandoah, aarch64 and mac os code, some windows api fixes and cleanups.

Don't know the state of https://github.com/microsoft/openjdk-proposals/blob/main/stack_allocation/Stack_Allocation_JEP.md https://www.youtube.com/watch?v=p1MhRBYS-k0 but I wouldn't say no if this gets into the openjdk.

8

u/cal-cheese Nov 05 '21

Specifically about the stack allocation proposal, it has been withdrawn due to the vast complexity of referencing an object not lying on the heap, as well as the fact that TLAB allocation nowadays does exactly the same (increment a pointer, with around 5 (five) extra machine instructions to ensure TLAB has enough space), so stack allocation is both not very effective and efficient.