What is the meaning of “From Space” and “To Space” shown in jmap?
问题 I understand the difference between new gen / old gen /perm gen, but I don't know what "To Space" and "From Space" are. I am seeing my "From Space" hitting 99.8% used while the "To Space" always seems to stay at 0% used. 回答1: Two regions in the garbage-collection algorithm that is used in the VM. Java specifics are found here: How Garbage Collection works in Java And a general explanation about "from space" and "to space": WP The most straightforward approach is the semi-space collector,