a8c936c415d936097b750abe26bd645cb023cebf
Files Diff
- Added: 5
- Removed: 2
- Renamed: 0
- Modified: 49
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private checkTrackedBuffersLeaks() : void renamed to public checkMemoryLeaks() : void in class com.orientechnologies.common.directmemory.OByteBufferPool | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public verifyState() : void from class com.orientechnologies.common.directmemory.OByteBufferPool to public checkMemoryLeaks() : void from class com.orientechnologies.common.directmemory.ODirectMemoryAllocator | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public shutdown() : void moved from class com.orientechnologies.orient.core.engine.memory.OEngineMemory to class com.orientechnologies.orient.core.Orient & inlined to public shutdown() : Orient | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type q : ReferenceQueue<? super ByteBuffer> to q : ReferenceQueue<? super OPointer> in method package TrackedPointerReference(referent OPointer, q ReferenceQueue<? super OPointer>) in class com.orientechnologies.common.directmemory.ODirectMemoryAllocator.TrackedPointerReference | From | To | |
Change Parameter Type referent : ByteBuffer to referent : OPointer in method package TrackedPointerReference(referent OPointer, q ReferenceQueue<? super OPointer>) in class com.orientechnologies.common.directmemory.ODirectMemoryAllocator.TrackedPointerReference | From | To | |
Change Parameter Type referent : ByteBuffer to referent : OPointer in method package TrackedPointerKey(referent OPointer) in class com.orientechnologies.common.directmemory.ODirectMemoryAllocator.TrackedPointerKey | From | To | |
Move Method | 1 | ||
Move Method private id(object Object) : int from class com.orientechnologies.common.directmemory.OByteBufferPool to private id(object Object) : int from class com.orientechnologies.common.directmemory.ODirectMemoryAllocator | From | To | |
Rename Variable | 2 | ||
Rename Variable leaked : boolean to detected : boolean in method public checkMemoryLeaks() : void in class com.orientechnologies.common.directmemory.OByteBufferPool | From | To | |
Rename Variable buffer : ByteBuffer to pointer : OPointer in method public equals(obj Object) : boolean in class com.orientechnologies.common.directmemory.ODirectMemoryAllocator.TrackedPointerKey | From | To | |
Extract Class | 1 | ||
Extract Class com.orientechnologies.common.directmemory.ODirectMemoryAllocator from class com.orientechnologies.common.directmemory.OByteBufferPool | From | To | |
Extract Attribute | 3 | ||
Extract Attribute private BUFFER_POOL : OByteBufferPool in class com.orientechnologies.orient.core.storage.cache.local.twoq.ReadWriteDiskCacheTest | From | To | |
Extract Attribute private bufferPool : OByteBufferPool in class com.orientechnologies.orient.core.storage.index.hashindex.local.cache.WOWCacheTestIT | From | To | |
Extract Attribute private bufferPool : OByteBufferPool in class com.orientechnologies.orient.core.storage.index.hashindex.local.arc.ReadWriteCacheConcurrentTest | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class com.orientechnologies.common.directmemory.OByteBufferPool.TrackedBufferKey moved and renamed to com.orientechnologies.common.directmemory.ODirectMemoryAllocator.TrackedPointerKey | From | To | |
Move And Rename Class com.orientechnologies.common.directmemory.OByteBufferPool.TrackedBufferReference moved and renamed to com.orientechnologies.common.directmemory.ODirectMemoryAllocator.TrackedPointerReference | From | To | |
Rename Attribute | 1 | ||
Rename Attribute pool : ConcurrentLinkedQueue<ByteBuffer> to pointersPool : ConcurrentLinkedQueue<OPointer> in class com.orientechnologies.common.directmemory.OByteBufferPool | From | To | |
Change Variable Type | 1 | ||
Change Variable Type buffer : ByteBuffer to pointer : OPointer in method public equals(obj Object) : boolean in class com.orientechnologies.common.directmemory.ODirectMemoryAllocator.TrackedPointerKey | From | To | |
Extract Method | 2 | ||
Extract Method private wrapBuffer(byteBuffer ByteBuffer) : ByteBufferHolder extracted from public logTrackedBufferInfo(prefix String, buffer ByteBuffer) : void in class com.orientechnologies.common.directmemory.OByteBufferPool | From | To | |
Extract Method private wrapBuffer(byteBuffer ByteBuffer) : ByteBufferHolder extracted from public acquireDirect(clear boolean) : ByteBuffer in class com.orientechnologies.common.directmemory.OByteBufferPool | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type pool : ConcurrentLinkedQueue<ByteBuffer> to pointersPool : ConcurrentLinkedQueue<OPointer> in class com.orientechnologies.common.directmemory.OByteBufferPool | From | To | |
Change Attribute Type poolSize : AtomicInteger to poolSize : int in class com.orientechnologies.common.directmemory.OByteBufferPool | From | To |