diff -r f90c822e73f8 -r 2d8a650513c2 src/share/vm/gc_implementation/shared/mutableSpace.hpp --- a/src/share/vm/gc_implementation/shared/mutableSpace.hpp Wed Apr 27 01:25:04 2016 +0800 +++ b/src/share/vm/gc_implementation/shared/mutableSpace.hpp Fri Apr 29 00:06:10 2016 +0800 @@ -22,6 +22,12 @@ * */ +/* + * This file has been modified by Loongson Technology in 2015. These + * modifications are Copyright (c) 2015 Loongson Technology, and are made + * available on the same license terms set forth above. + */ + #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLESPACE_HPP #define SHARE_VM_GC_IMPLEMENTATION_SHARED_MUTABLESPACE_HPP @@ -130,6 +136,10 @@ // Allocation (return NULL if full) virtual HeapWord* allocate(size_t word_size); virtual HeapWord* cas_allocate(size_t word_size); + + // Allocation for Old NUMA (return NULL if full) + virtual HeapWord* cas_allocate_oldnuma(size_t word_size, int node); + // Optional deallocation. Used in NUMA-allocator. bool cas_deallocate(HeapWord *obj, size_t size);