What the new value keyword actually changes about heap layout, and why data-heavy Java applications should pay attention. For more than a…