mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[core] IJPL-193: tuning FilePageCacheLockFree
+ slightly adjust pages demand forecasting GitOrigin-RevId: bc886d583b6420f370121a289554c902d25adc45
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f24b668731
commit
1d8d4c72dc
@@ -1124,7 +1124,7 @@ public final class FilePageCacheLockFree implements AutoCloseable {
|
||||
}
|
||||
|
||||
return Math.max(
|
||||
pagesAllocatedInTurn * safetyMarginFactor.value() / 10,
|
||||
pagesAllocatedInTurn * safetyMarginFactor.value() / 10 + 1,
|
||||
1
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user