linux os processor optimizations for OpenJDK GC performance enhancement

Andrew Haley aph at
Thu Apr 13 16:52:06 UTC 2017

On 13/04/17 16:33, Kim Barrett wrote:
> An application thread may touch memory in any region; there is no
> notion of a thread being "scoped" to a specific set of regions. While
> it might happen that a thread would only touch regions not being
> worked on by the collector, there is no a priori way to know that.

Surely there is: a thread could have its TLAB allocated from a region
local to that socket (or core), and the GC thread for that region
could run on the same socket.  It only works for young gen, but that's
a lot of the problem.


More information about the hotspot-gc-dev mailing list