975b6de7c9e19f0f6f48ff1b595f05970add950f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 3 | ||
Inline Method public close() : void inlined to protected finalize() : void in class org.neo4j.io.mem.GrabAllocator | From | To | |
Inline Method private allocateMemory(bytesToAllocate long) : long inlined to protected UnsafeTable(capacity int, bytesPerKey int, valueMarker VALUE, allocationTracker MemoryAllocationTracker) in class org.neo4j.collection.primitive.hopscotch.UnsafeTable | From | To | |
Inline Method private deallocateMemory() : void inlined to public close() : void in class org.neo4j.collection.primitive.hopscotch.UnsafeTable | From | To | |
Change Variable Type | 1 | ||
Change Variable Type allocator : MemoryAllocator to allocator : GrabAllocator in method public trackMemoryAllocations() : void in class org.neo4j.io.mem.MemoryAllocatorTest | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public allocateMemory(sizeInBytes long) : long extracted from public allocateLock() : void in class org.neo4j.io.pagecache.impl.muninn.SequenceLockStressIT & moved to class org.neo4j.unsafe.impl.internal.dragons.UnsafeUtil | From | To | |
Extract And Move Method public allocateMemory(sizeInBytes long) : long extracted from public directByteBufferCreationAndInitialisation() : void in class org.neo4j.unsafe.impl.internal.dragons.UnsafeUtilTest & moved to class org.neo4j.unsafe.impl.internal.dragons.UnsafeUtil | From | To | |
Extract And Move Method public allocateMemory(sizeInBytes long) : long extracted from public mustSupportReadingAndWritingOfPrimitivesToMemory() : void in class org.neo4j.unsafe.impl.internal.dragons.UnsafeUtilTest & moved to class org.neo4j.unsafe.impl.internal.dragons.UnsafeUtil | From | To |