diff -r df2af0ed648d -r c04a7462b0e6 hotspot/src/share/vm/gc/cms/compactibleFreeListSpace.hpp --- a/hotspot/src/share/vm/gc/cms/compactibleFreeListSpace.hpp Wed Oct 21 17:16:02 2015 -0400 +++ b/hotspot/src/share/vm/gc/cms/compactibleFreeListSpace.hpp Thu Oct 22 08:53:13 2015 +0200 @@ -138,15 +138,13 @@ // Linear allocation blocks LinearAllocBlock _smallLinearAllocBlock; - FreeBlockDictionary::DictionaryChoice _dictionaryChoice; AFLBinaryTreeDictionary* _dictionary; // Pointer to dictionary for large size blocks // Indexed array for small size blocks AdaptiveFreeList _indexedFreeList[IndexSetSize]; // Allocation strategy - bool _fitStrategy; // Use best fit strategy - bool _adaptive_freelists; // Use adaptive freelists + bool _fitStrategy; // Use best fit strategy // This is an address close to the largest free chunk in the heap. // It is currently assumed to be at the end of the heap. Free @@ -204,10 +202,6 @@ // strategy that attempts to keep the needed number of chunks in each // indexed free lists. HeapWord* allocate_adaptive_freelists(size_t size); - // Allocate from the linear allocation buffers first. This allocation - // strategy assumes maximal coalescing can maintain chunks large enough - // to be used as linear allocation buffers. - HeapWord* allocate_non_adaptive_freelists(size_t size); // Gets a chunk from the linear allocation block (LinAB). If there // is not enough space in the LinAB, refills it. @@ -333,9 +327,7 @@ public: // Constructor - CompactibleFreeListSpace(BlockOffsetSharedArray* bs, MemRegion mr, - bool use_adaptive_freelists, - FreeBlockDictionary::DictionaryChoice); + CompactibleFreeListSpace(BlockOffsetSharedArray* bs, MemRegion mr); // Accessors bool bestFitFirst() { return _fitStrategy == FreeBlockBestFitFirst; } FreeBlockDictionary* dictionary() const { return _dictionary; } @@ -349,8 +341,6 @@ // chunk exists, return NULL. FreeChunk* find_chunk_at_end(); - bool adaptive_freelists() const { return _adaptive_freelists; } - void set_collector(CMSCollector* collector) { _collector = collector; } // Support for parallelization of rescan and marking. @@ -536,9 +526,6 @@ void addChunkAndRepairOffsetTable(HeapWord* chunk, size_t size, bool coalesced); - // Support for decisions regarding concurrent collection policy. - bool should_concurrent_collect() const; - // Support for compaction. void prepare_for_compaction(CompactPoint* cp); void adjust_pointers();