下面是一些控制锁列表大小的建议。
Suggestions for controlling the size of the lock list include.
为了进一步减小筛选的列表大小,您只需要让finalize方法不拥有参数。
To further help reduce the filtered list size, you need only finalize methods that have no parameters.
当任何一个应用程序所持有的锁数量达到整个锁列表大小的这个百分比时,对该应用程序所持有的锁进行锁升级。
When the number of locks held by any one application reaches this percentage of the total lock list size, lock escalation occurs for the locks held by that application.
Ignore this one here 'cause this is when I was just writing down the original list of size 1.
暂且忽略这个,因为它是大小为1的列表中的元素,我只是把它写下来而已。
So supposed that the list is not of size 8, let's make it slightly more interesting and double it.
假如列表的大小不是,为了更有趣,使其加倍。
Well, notice again, on each level of the tree, when I actually do the merging, so this remember, is when I wrote down just the numbers when I bottomed out with the list of size 1.
请注意,在这棵树中的每一层,我真正做合并时,就将每个大小为1的列表中的,数字写下来。
应用推荐