The histone methyltransferase Ezh2 is involved in forming CD8 T cell memory precursors and contributes to the antitumor activity of CD8 memory T cells in the tumor microenvironment. Here, CD8A is linked to neoplasm.