[
https://issues.apache.org/jira/browse/IGNITE-24121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-24121:
---------------------------------------
Description:
On my machine, PartitionReplicaListenerTest runs for dozens of seconds. Most of
time it spends in creation of HeapLockManager$LockState as it creates a million
of them. But this test (and other tests) don't need so many slots in
HeapLockManager; in fact, it seems that any amount of slots will do for them.
It makes sense to change the slot count in tests to 1024. With such a change,
the test passes in a few seconds on my machine.
was:On my machine, PartitionReplicaListeners runs for dozens of seconds
> Use HeapLockManager with less slots in tests
> --------------------------------------------
>
> Key: IGNITE-24121
> URL: https://issues.apache.org/jira/browse/IGNITE-24121
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
> On my machine, PartitionReplicaListenerTest runs for dozens of seconds. Most
> of time it spends in creation of HeapLockManager$LockState as it creates a
> million of them. But this test (and other tests) don't need so many slots in
> HeapLockManager; in fact, it seems that any amount of slots will do for them.
> It makes sense to change the slot count in tests to 1024. With such a change,
> the test passes in a few seconds on my machine.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)