高速缓冲在连续分配和释放很小的块的程序中是一个很好的主意。
Caching can be a good idea in programs that continuously allocate and release chunks of only a few sizes.
另外,由于连续分配的新对象在托管堆中是连续存储,所以应用程序可以快速访问这些对象。
In addition, because new objects that are allocated consecutively are stored contiguously in the managed heap, an application can access the objects very quickly.
希望分配了大量连续内存区域但这些内存不马上同时使用的程序常常结合使用保留内存和提交内存。
Programs that want to allocate a large and contiguous area of memory but don't need it all immediately often use a combination of reserved and committed memory.
记得连续几天记录一下自己的时间分配,看看自己的时间都用哪去了。
For a few days in a row, keep track of where all your time is going.
这样分配的连续空间就要小得多,因此最有可能解决问题。
This is a considerably smaller contiguous space to allocate and therefore will most likely resolve the problem.
较高的顺序性意味着文件的分配更连续,这也对顺序文件访问有利。
A higher sequentiality tells you that the files are more contiguously allocated, which will also be better for sequential file access.
这样所需磁盘空间总数就一目了然,因此这个功能提高了分配连续磁盘块的可能性。
This functionality improves the chances that sequential disk blocks are allocated, because the total number needed will be known.
文档添加到活页夹时,被分配一个惟一的连续号码。
As documents are added to the binder, they are given a unique consecutive number.
突击步枪共有的特点是,分配器手柄可以让射手在全自动(连续发射)和半自动(单发发射)之间进行选择。
Characteristic of all assault rifles, a selector level allows the shooter to choose between automatic (continuous firing) and semi-automatic (single-shot firing).
正如我们在之前的示意图中看到的,需要为对象分配heap上的连续空间。
As we saw in the pictorial example, an object needs contiguous space to be allocated on the heap.
可以连续地将跟踪数据写到文件中,作为存储内跟踪的扩展;但是在这种情况下不是为每个线程分配一个缓冲区,而是至少分配两个。
You can write trace data to a file continuously as an extension to the in-storage trace, but instead of one buffer per thread, at least two buffers per thread are allocated.
如果目标利用率和分配率都很高,则应用程序可能耗尽内存,强迫GC连续地运行并且在多数情况下使利用率降低到0%。
If both the target utilization and allocation rate are high, the application can run out of memory, forcing the GC to run continuously and dropping the utilization to 0% in most cases.
如果局部化是唯一的目标,分配器可能总是尽可能接近的分配每个连续的块。
If locality were the only goal, an allocator might always allocate each successive chunk as close to the previous one as possible.
检查每一个分配行为有助于理解在该业务流程中如何将不同的任务链接在一起,以及这些相关的和连续的任务如何进行交换。
Examining each of the Assign activities helps in understanding how the various tasks are linked together in the business process and how the data is exchanged between interrelated or sequential tasks.
第一个分配程序是通用分配,可以满足针对任何数量的连续内存块的请求。
The first is a general-purpose allocation and can serve requests for any number of contiguous chunks.
我们将应用程序利用率定义为:分配给特定时间窗内的应用程序的时间百分比,在这段时间内应用程序连续地执行完整个运行过程。
We define application utilization as the percentage of time allotted to an application in a given window of time continuously sliding over the application's complete run.
主循环在连续的检查-分配-睡眠周期上操作。
The main loop operates on a continuous check-dispatch-sleep cycle.
例如,让分配器判断通过合并块能获取多少总共的连续空间的开销和直接合并然后分割它们的开销一样大。
For example, it is just as costly for an allocator to determine how much total contiguous space would be gained by coalescing chunks as it would be to just coalesce them and then resplit them.
compact阶段只在一个完整的GC中才会运行,在这个阶段,gc会试图将heap内的所有对象重新分配到heap内的一个更为紧缩、更为连续的较小空间。
The compact phase is run only in a full GC, which attempts to reallocate all the objects in the heap to a smaller, more compact, and more contiguous space in the heap.
通过这个条目,我们能够知道有一个分配失败,当heap内没有足够的连续空间可以分配给对象时,就会发生分配失败。
This entry lets us know that there was an allocation failure, which presents itself when there is not enough contiguous space in the heap to allocate the object.
另外一个将它用于较大缓冲区的问题是,由于他分配了未分页内存,它也许会需要在连续的未分页内存中分配较大的一个块。
The other problem with using this for larger buffers is that since it allocates non-paged memory, it would need to allocate a large block of sequential non-paged memory.
和更多的变量,内存不是连续的当你分配一些内存(内存对齐),所以它可能需要更多的内存比你认为。
And for more variables, the memory isn't really contiguous when you allocate some memory (memory-alignment), so it could take more memory than you think it takes.
我国上市公司的股利政策存在严重不分配现象,股利支付率偏低,缺乏连续性等问题。
There is phenomenon that the listed companies do not allocate the dividend on shares or the payout ratio is low in China.
其中一半的受试者被分配入禁食组,每周有连续的两天每天摄入的热量不得超过500卡路里。
Half of the subjects were assigned to eat no more than 500 calories each on two consecutive days each week.
实验结果表明:常质量GOP带宽分配机制能够平滑一场景内连续GOP的质量,并且连续帧的质量波动也较小。
Simulation results show that, the proposed constant quality GOP bandwidth allocation scheme can smooth the quality of successive GOPs and guarantee little distortion of continuous frames.
在实际工程中,钢筋混凝土连续梁发生弯曲裂缝或剪切裂缝之后,支座反力将重新分配。
The support reaction will be reallocated after the appearance of bend and shear crack of a reinforced concrete continuous beam in the practice project.
RPDS将处理器时间流分成连续的小段,并在每一小段中强制为非硬实时任务分配一个时间片。
RPDS partitions CPU time flow into continuous segments, and in each segment RPDS will forcibly assign one time slice to non-hard real-time tasks.
本文利用弯矩分配法推导出四跨以内不等跨连续梁支座弯矩精确值的算式。
This paper has made use of the mo me nt distribution method to bring on the formulas of support moment of unequal span continuous beam less than or equal to four spans.
弱逼近元在完备格中有许多重要的性质,对于刻划连续格、完全分配格起着重要的作用。
The weak approximating elements of complete lattices have a few significant properties, and play an important role in the characterizations of continuous lattices and completely distributive lattices.
弱逼近元在完备格中有许多重要的性质,对于刻划连续格、完全分配格起着重要的作用。
The weak approximating elements of complete lattices have a few significant properties, and play an important role in the characterizations of continuous lattices and completely distributive lattices.
应用推荐