[英]What's the 'canonical table'?
“规范表是什么?我找不到它的描述。任何人都可以提供示例吗?”
Are you reading Java Performance Tuning ? 您正在阅读Java Performance Tuning吗? I saw those concepts in there. 我在那里看到了那些概念。
A canonical object means an object with a single reference pointed to it, with no copies holding the same state possible. 规范对象指的是指向单个引用的对象,没有任何副本可以保持相同的状态。
The activity of replacing multiple copies of an object with just a few objects is often referred to as canonicalizing objects.
activity of replacing multiple copies of an object with just a few objects is often referred to as canonicalizing objects.
的activity of replacing multiple copies of an object with just a few objects is often referred to as canonicalizing objects.
For example Boolean, could have been canocalized, but it were not because new objects can be created with new, thus it's possible to create more than one instance with the same state. 例如Boolean,本可以使用canocalized,但这不是因为可以用new创建新对象,因此可以创建多个具有相同状态的实例。
A Canonical Lookup Table is some sort of cache containing references to those canonical object pool. 规范查询表是某种高速缓存,其中包含对那些规范对象池的引用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.