Home > Back-end >  The 2020-11-30: in Java, and memory card table set the difference?
The 2020-11-30: in Java, and memory card table set the difference?

Time:12-01

The 2020-11-30: in Java, and memory card table set the difference? # # f greatly architects a daily topic

CodePudding user response:

Memory set is a kind of "abstract" data structure, the card table is its implementation approach, the card table records the record precision of the memory set, and heap memory mapping, etc

CodePudding user response:

Memory card table is set a specific implementation, it defines the memory set record accuracy, and the mapping relationship of heap memory, about the relationship between the card table and memory, might as well as in the Java language HashMap relations with the Map to the understanding, memory set is a kind of used to record from the collecting region pointer to collect area collection of abstract data structure, if we do not consider efficiency and cost, the most simple implementation can use the collection area contains all across generations reference object in the array to realize the data structure

CodePudding user response:

RSet is essentially a hash table, the Key is the starting address of the Region, the Value is a collection of stored inside the element is a card table index number,
Card table: each Region was divided into several size of 512 bytes of Card, the Card will be recorded in the global Card table,

CodePudding user response:

Are superior technologies
  • Related