Top
image credit: Adobe Stock

Microsoft Java introduces compiler optimization

November 2, 2022

Via: InfoWorld

Microsoft Build of OpenJDK, the company’s open source distribution of Java, has added an experimental feature to improve escape analysis compiler optimization results.

With a patch and security update issued October 24 and dubbed the October 2022 PSU release, Microsoft seeks to improve escape analysis results by increasing the number of opportunities for scalar replacement.

In compiler optimization, escape analysis is an algorithm that determines the dynamic scope of pointers, or where in the program a pointer can be accessed. With scalar replacement, the Java just-in-time compiler can allocate the members, or scalars, of an object on the stack or in registers, rather than allocating the full object on the heap.

Read More on InfoWorld