[ 
https://issues.apache.org/jira/browse/IGNITE-29225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Werner updated IGNITE-29225:
-----------------------------------
    Description: 
GridOffHeapProcessor has had no callers since Ignite 2.0, when the page-memory 
architecture replaced the old off-heap storage. It was the only production user 
of the legacy off-heap map implementations in 
org.apache.ignite.internal.util.offheap (module ignite-core). Those maps are 
now referenced only by their own tests.

Classes to remove:

- org.apache.ignite.internal.processors.offheap.GridOffHeapProcessor
- org.apache.ignite.internal.util.offheap.GridOffHeapEvictListener
- org.apache.ignite.internal.util.offheap.GridOffHeapMap
- org.apache.ignite.internal.util.offheap.GridOffHeapMapFactory
- org.apache.ignite.internal.util.offheap.GridOffHeapPartitionedMap
- org.apache.ignite.internal.util.offheap.unsafe.GridUnsafeLru
- org.apache.ignite.internal.util.offheap.unsafe.GridUnsafeLruPoller
- org.apache.ignite.internal.util.offheap.unsafe.GridUnsafeMap
- org.apache.ignite.internal.util.offheap.unsafe.GridUnsafePartitionedMap

Tests to remove:

- GridByteArrayWrapper
- GridOffHeapMapAbstractSelfTest
- GridOffHeapMapPerformanceAbstractTest
- GridOffHeapPartitionedMapAbstractSelfTest
- GridOffHeapPartitionedMapPerformanceAbstractTest
- GridUnsafeMapSelfTest
- GridUnsafeMapPerformanceTest
- GridUnsafePartitionedMapSelfTest
- GridUnsafePartitionedMapPerformanceTest
- GridUnsafeStripedLruSefTest

Also remove their entries from IgniteUtilSelfTestSuite, 
IgnitePerformanceTestSuite and META-INF/classnames.properties.

The classes in module ignite-unsafe stay, because they are still in use: 
GridUnsafeMemory, GridOffHeapEvent, GridOffHeapEventListener and 
GridOffHeapOutOfMemoryException. GridUnsafeMemorySelfTest stays too.

> Remove unused GridOffHeapProcessor and legacy off-heap maps
> -----------------------------------------------------------
>
>                 Key: IGNITE-29225
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29225
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Dmitry Werner
>            Assignee: Dmitry Werner
>            Priority: Minor
>              Labels: ise, tech-debt
>
> GridOffHeapProcessor has had no callers since Ignite 2.0, when the 
> page-memory architecture replaced the old off-heap storage. It was the only 
> production user of the legacy off-heap map implementations in 
> org.apache.ignite.internal.util.offheap (module ignite-core). Those maps are 
> now referenced only by their own tests.
> Classes to remove:
> - org.apache.ignite.internal.processors.offheap.GridOffHeapProcessor
> - org.apache.ignite.internal.util.offheap.GridOffHeapEvictListener
> - org.apache.ignite.internal.util.offheap.GridOffHeapMap
> - org.apache.ignite.internal.util.offheap.GridOffHeapMapFactory
> - org.apache.ignite.internal.util.offheap.GridOffHeapPartitionedMap
> - org.apache.ignite.internal.util.offheap.unsafe.GridUnsafeLru
> - org.apache.ignite.internal.util.offheap.unsafe.GridUnsafeLruPoller
> - org.apache.ignite.internal.util.offheap.unsafe.GridUnsafeMap
> - org.apache.ignite.internal.util.offheap.unsafe.GridUnsafePartitionedMap
> Tests to remove:
> - GridByteArrayWrapper
> - GridOffHeapMapAbstractSelfTest
> - GridOffHeapMapPerformanceAbstractTest
> - GridOffHeapPartitionedMapAbstractSelfTest
> - GridOffHeapPartitionedMapPerformanceAbstractTest
> - GridUnsafeMapSelfTest
> - GridUnsafeMapPerformanceTest
> - GridUnsafePartitionedMapSelfTest
> - GridUnsafePartitionedMapPerformanceTest
> - GridUnsafeStripedLruSefTest
> Also remove their entries from IgniteUtilSelfTestSuite, 
> IgnitePerformanceTestSuite and META-INF/classnames.properties.
> The classes in module ignite-unsafe stay, because they are still in use: 
> GridUnsafeMemory, GridOffHeapEvent, GridOffHeapEventListener and 
> GridOffHeapOutOfMemoryException. GridUnsafeMemorySelfTest stays too.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to