For example, a compiler may choose to optimize a loop index variable by storing it in a register, or the cache may delay flushing a new value of a variable to main memory until a more opportune time.
例如,编译器为了优化一个循环索引变量,可能会选择把它存储到一个寄存器中,或者缓存会延迟到一个更适合的时间,才把一个新的变量值存入主存。
Under normal circumstances, a write request is written directly to cache and incurs no delay because physical disk access is not required.
在正常的环境中,一个写请求是直接写入到缓存中而不会引起延迟的,因为它不需要访问物理磁盘。
After turning on Hibernate's log level to trace, we found it was the updating of session cache that caused the delay.
将Hibernate的日志级别调成trace后,我们发现是更新会话缓存造成了延时。
应用推荐